public function indexProf() { $modules = Module::modulesProf(Session::get('user')->id); $enseignants = Enseignant::all(); return View('app/gestion_modules', ['modules' => $modules, 'enseignants' => $enseignants]); }
/** * Display a listing of the resource. * * @return Response */ public function index() { $profs = Enseignant::all(); $administrators = Admin::all(); return View('app/gestion_enseignants', array('profs' => $profs, 'administrators' => $administrators)); }
/** * Display a listing of the resource. * * @return Response */ public function index() { $filieres = Filiere::all(); $enseignants = Enseignant::all(); return View('app.gestion_filieres', ['filieres' => $filieres, 'enseignants' => $enseignants]); }