Completed
Pull Request — master (#134)
by
unknown
06:41
created
app/Http/Controllers/ActivityLogController.php 1 patch
Braces   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,10 +28,11 @@
 block discarded – undo
28 28
      */
29 29
     public function index(ActivityLogDataTable $dataTable)
30 30
     {
31
-        if (Gate::denies('index-activitylog'))
32
-            throw new AuthorizationException("This action is unauthorized.");
33
-        else
34
-            return $dataTable->render('activitylog.index');
31
+        if (Gate::denies('index-activitylog')) {
32
+                    throw new AuthorizationException("This action is unauthorized.");
33
+        } else {
34
+                    return $dataTable->render('activitylog.index');
35
+        }
35 36
     }
36 37
 
37 38
 }
Please login to merge, or discard this patch.