Class: Spree::Admin::VolumePricesController

Inherits:
BaseController
  • Object
show all
Defined in:
app/controllers/spree/admin/volume_prices_controller.rb

Instance Method Summary collapse

Instance Method Details

#destroyObject



6
7
8
9
10
# File 'app/controllers/spree/admin/volume_prices_controller.rb', line 6

def destroy
  @volume_price = Spree::VolumePrice.find(params[:id])
  @volume_price.destroy
  head :ok
end