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