user()->role_id == 7) { return $next($request); } else { return redirect('home'); } } }