/** * 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.')); }
/** * Remove the specified eventoespecial from storage. * * @param int $id * @return Response */ public function destroy($id) { PacoteDestaque::destroy($id); return Redirect::route('pacotedestaque.index'); }