Browse Source

Use DispatchesJobs.

Taylor Otwell 10 years ago
parent
commit
b21d263e84
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/Http/Controllers/Controller.php

+ 2 - 2
app/Http/Controllers/Controller.php

@@ -1,10 +1,10 @@
 <?php namespace App\Http\Controllers;
 
-use Illuminate\Foundation\Bus\DispatchesCommands;
+use Illuminate\Foundation\Bus\DispatchesJobs;
 use Illuminate\Routing\Controller as BaseController;
 use Illuminate\Foundation\Validation\ValidatesRequests;
 
 abstract class Controller extends BaseController
 {
-    use DispatchesCommands, ValidatesRequests;
+    use DispatchesJobs, ValidatesRequests;
 }