has('user.is_member')) { return redirect()->route('dashboard'); } return $next($request); } }