middleware('check.permission:subscriptions.read')->only(['index']); } public function index() { $plans = Plan::where('status', 1)->latest()->get(); return view('business::subscriptions.index', compact('plans')); } }