/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { //TODO: refaire pour afficher toutes les activités $evenement = Systeme::first(); return View::make('systeme.index', compact('evenement')); }
/** * La page d'ouverture du site * * @return Illuminate/Http/Response */ public function index() { $titre = Systeme::first()->nomEvenement; return View::make('homePage', compact('titre')); }