/** * Remove the specified apt from storage. * * @param int $id * @return Response */ public function destroy($id) { $apt = Apartamento::find($id); $apt->imagens()->delete(); $apt->delete(); return Redirect::back()->with('success', array('Registro deletado.')); }