/** * Remove the specified resource from storage. * * @param int $id * @return \Illuminate\Http\Response */ public function destroy($id) { try { Rubro::destroy($id); } catch (Exception $e) { } return redirect()->route('admin.rubro.index')->with('message', '<div class="alert alert-success" style="margin-top:15px">Rubro eliminado con Éxito</div>'); }