/** * Display a listing of the resource. * * @return Response */ public function index() { // $actif = "preference"; $mode = 'preference'; $profil = Preference::first(); return view('admin.param-config', compact('actif', 'mode', 'profil')); }