/** * Show the form for editing the specified resource. * * @param int $id * @return \Illuminate\Http\Response */ public function edit($id) { //TODO: ajouter des try catch. $texte = Systeme::find($id); return View::make('systeme.edit', compact('texte', 'id')); }
public function getSysteme($systemeId) { return Systeme::find($systemeId); }