Example #1
0
 /**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function editarsancion($id)
 {
     //$todocampeonato = Campeonato::all();
     //return View::make('campeonato.editar')->with('todocampeonato',$todocampeonato);
     $sancion = Sancion::where('idsancion', '=', $id)->get();
     return View::make('sancion.editar')->with('sancion', $sancion);
 }