Completed
Push — master ( 029fc1...afa99c )
by guillaume
12:29 queued 06:09
created
app/Http/Middleware/CheckRole.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
      */
17 17
     public function handle($request, Closure $next)
18 18
     {
19
-        if(Auth::user() !== null && !Auth::user()->hasRole('admin')){
19
+        if (Auth::user() !== null && !Auth::user()->hasRole('admin')) {
20 20
             return redirect(env('WIKI_URL'));
21 21
         }
22 22
         return $next($request);
Please login to merge, or discard this patch.