with('error', 'Judging is not currently enabled.'); } if(! Auth::user()->isJudge()) { return redirect('/dashboard')->with('error', 'You are not assigned to judge.'); } return $next($request); } }