code formatting

This commit is contained in:
Taylor Otwell 2016-07-09 11:27:46 -05:00
parent e3bd984b01
commit 02274da8fd
1 changed files with 2 additions and 1 deletions

View File

@ -21,6 +21,7 @@ public function handle($request, Closure $next, $guard = null)
if ($request->ajax() || $request->wantsJson()) {
return response('Unauthorized.', 401);
}
return redirect()->guest('login');
}