isAdmin()) { return $next($request); } return redirect()->route('bo.dashboard'); } }