has('admin_id')) { return redirect('/'); } return $next($request); } }