public function destroy($id) { try { Midia::excluir($id, $this->tipo_midia); Video::destroy($id); session()->flash('flash_message', 'Registro apagado com sucesso'); } catch (\Exception $e) { LogR::exception('destroy videos', $e); session()->flash('flash_message', 'Ops!! Ocorreu algum problema!. ' . $e->getMessage()); } return Redirect::back(); }