Ejemplo n.º 1
0
 /**
  * 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'));
 }
Ejemplo n.º 2
0
 public function getSysteme($systemeId)
 {
     return Systeme::find($systemeId);
 }