Completed
Push — master ( 2e38bb...0bfa35 )
by David
01:53
created
src/Http/Controllers/AdminController.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Validator;
7 7
 use Illuminate\Http\Request;
8 8
 use Illuminate\Support\Facades\Log;
9
-
10 9
 use Taskforcedev\LaravelSupport\Http\Controllers\Controller;
11 10
 use Taskforcedev\CrudApi\Helpers\CrudApi;
12 11
 use Illuminate\Database\Eloquent\ModelNotFoundException;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
         $fqModel = $this->apiHelper->getModel();
35 35
 
36 36
         if (Auth::user()->cannot('create', $fqModel)) {
37
-            Log::info('CrudAPI: User is unable to create: ' . $fqModel);
37
+            Log::info('CrudAPI: User is unable to create: '.$fqModel);
38 38
             return redirect('/');
39 39
         }
40 40
 
Please login to merge, or discard this patch.