where('status', true) ->orderBy('order') ->get(); return view('front.danslespres.description', compact('danslespresContents')); } /** * Show danslespres media content * * @return \Illuminate\Contracts\View\View|\Illuminate\Contracts\View\Factory */ public function media() { $danslespresContents = DansLesPresContent::where('type', DansLesPresType::media()) ->orderBy('order') ->where('status', true)->get(); return view('front.danslespres.media', compact('danslespresContents')); } }