From 416cd96c949a570ed57e98e3a397396afacc5352 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 15 Jun 2016 21:08:19 -0700 Subject: [PATCH] Removed debugging loggin in middleware --- app/Http/Middleware/CheckPermissions.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Http/Middleware/CheckPermissions.php b/app/Http/Middleware/CheckPermissions.php index 3e7280f24c..837f2dda42 100644 --- a/app/Http/Middleware/CheckPermissions.php +++ b/app/Http/Middleware/CheckPermissions.php @@ -23,8 +23,7 @@ class CheckPermissions */ public function handle($request, Closure $next, $section = null) { - Log::debug($section .' is the section'); - + if (Gate::allows($section)) { return $next($request); }