/** * Remove the specified resource from storage. * * @param int $id * @return Response */ public function destroy($id) { TipoReceta::destroy($id); Session::flash('message', 'tipoReceta eliminado correctamente'); return Redirect::to('tipoReceta'); }
/** * Show the form for creating a new resource. * * @return Response */ public function create() { //return "sadsadsads"; $tiporeceta = TipoReceta::lists('descripcion', 'id'); return view('/receta.create', compact('tiporeceta')); }