/**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     $matieres = Matiere::all();
     return View('app/gestion_cours', ['matieres' => $matieres]);
 }
 public function index_api()
 {
     return Matiere::all();
 }
Exemple #3
0
 public function getAll()
 {
     return Matiere::all();
 }