Sha256: ad96aba956e721cb4678781eb9544467328997374746240cd70a52feee053e69

Contents?: true

Size: 277 Bytes

Versions: 4

Compression:

Stored size: 277 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
solidus_volume_pricing-1.2.0 app/controllers/spree/admin/volume_prices_controller.rb
solidus_volume_pricing-1.1.1 app/controllers/spree/admin/volume_prices_controller.rb
solidus_volume_pricing-1.1.0 app/controllers/spree/admin/volume_prices_controller.rb
solidus_volume_pricing-1.0.0 app/controllers/spree/admin/volume_prices_controller.rb