Sha256: 3305405aa1adc8948e5f3eedca6ed874541635e15acb7189eeff1693623a8a63

Contents?: true

Size: 258 Bytes

Versions: 4

Compression:

Stored size: 258 Bytes

Contents

module Spree
  module Admin
    class VolumePricesController < Spree::Admin::BaseController
      def destroy
        @volume_price = Spree::VolumePrice.find(params[:id])
        @volume_price.destroy
        render nothing: true
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
solidus_volume_pricing-0.2.1 app/controllers/spree/admin/volume_prices_controller.rb
solidus_volume_pricing-0.1.1 app/controllers/spree/admin/volume_prices_controller.rb
solidus_volume_pricing-0.2.0 app/controllers/spree/admin/volume_prices_controller.rb
solidus_volume_pricing-0.1.0 app/controllers/spree/admin/volume_prices_controller.rb