Skip to content

Commit 63019b7

Browse files
author
PrivateSniper
committed
Add AuthorizesRequests, DispatchesJobs, ValidatesRequests to Controller
1 parent b2e1239 commit 63019b7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Http/Controllers/Controller.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@
44
use Illuminate\Routing\Controller as IlluminateController;
55
use Illuminate\Console\AppNamespaceDetectorTrait;
66
use Taskforcedev\LaravelSupport\Helpers\User;
7+
use Illuminate\Foundation\Bus\DispatchesJobs;
8+
use Illuminate\Foundation\Validation\ValidatesRequests;
9+
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
710

811
class Controller extends IlluminateController
912
{
10-
use AppNamespaceDetectorTrait;
13+
use AuthorizesRequests, DispatchesJobs, ValidatesRequests, AppNamespaceDetectorTrait;
1114

1215
/**
1316
* Populates $data object for use in controlers.

0 commit comments

Comments
 (0)