/** * Show the form for editing the specified resource. * GET /piso/{id}/edit * * @param int $id * @return Response */ public function postEdit() { $piso = Piso::find(Input::get('piso_id')); $piso->update(Input::all()); $piso->save(); return Redirect::to('/pisos'); }