has('member.is_member')) { return redirect()->to('/'); } return $next($request); } }