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