companyContext(); if (optional($company)->hasSubscription()) { return redirect()->route('dashboard'); } return $next($request); } }