Sha256: 084d5995ddb27e4b9edea3f494eb92c669502048b87a8f435ab2e70c7f995775

Contents?: true

Size: 296 Bytes

Versions: 4

Compression:

Stored size: 296 Bytes

Contents

Spree::Core::Engine.add_routes do
  namespace :admin do
    resources :products do
      resources :variants do
        get :volume_prices, on: :member
      end
    end

    delete '/volume_prices/:id', to: 'volume_prices#destroy', as: :volume_price
    resources :volume_price_models
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
solidus_volume_pricing-0.2.1 config/routes.rb
solidus_volume_pricing-0.1.1 config/routes.rb
solidus_volume_pricing-0.2.0 config/routes.rb
solidus_volume_pricing-0.1.0 config/routes.rb