/** * Remove the specified resource from storage. * @param int $id * @return Response */ public function destroy(Netblock $netblock) { $netblock->delete(); return Redirect::route('admin.netblocks.index')->with('message', 'Netblock has been deleted.'); }
/** * Remove the specified resource from storage. * * @param Netblock $netblock * * @return \Illuminate\Http\RedirectResponse */ public function destroy(Netblock $netblock) { $netblock->delete(); return Redirect::route('admin.netblocks.index')->with('message', trans('netblocks.msg.deleted')); }