/** * Remove the specified evento from storage. * * @param int $id * @return Response */ public function destroy($id) { $evento = PacoteDestaque::find($id); $evento->imagens()->delete(); $evento->delete(); return Redirect::to('admin/pacote-destaque/')->with('success', array('Registro deletado.')); }
/** * Show the form for editing the specified pacotedestaque. * * @param int $id * @return Response */ public function edit($id) { $eventoespecial = PacoteDestaque::find($id); return View::make('pacotedestaque.edit', compact('eventoespecial')); }