public function index() { view()->share('current_action', 'getLive'); $livestream = new LivestreamCollection(); $streams = $livestream->all(); $featuredStream = $livestream->featured(); return view('livestreams.index', compact('streams', 'featuredStream')); }