/** * Remove the specified resource from storage. * * @param int $id * @return Response */ public function destroy(Resource $resource) { $resource->delete(); return redirect()->route('admin.resources.index'); }
public function destroy(Resource $resource) { $resource->delete(); return redirect('/resource'); }