Sha256: e8780e59780b927feb40da5c3055b8364617beb1ddfdfe4fd5207067ccd92fab

Contents?: true

Size: 629 Bytes

Versions: 2

Compression:

Stored size: 629 Bytes

Contents

Spree::Core::Engine.routes.draw do
  # Add your extension routes here
  namespace :admin do
    resources :add_on_malls , :only => [:index, :new, :create, :edit, :update, :destroy] do
    end
  end


  namespace :admin , :only => [] do
      resources :products , :only => [] do
        get 'add_on_mall_prices' => 'add_on_mall_prices#index'
        resources :variants do
          get 'add_on_mall_prices/edit',      to: 'add_on_mall_prices#edit'
          patch 'add_on_mall_prices', to: 'add_on_mall_prices#update'
          resources :add_on_mall_prices, :only => [:new, :create] do
        end
      end
    end
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_malls-0.1.1 config/routes.rb
spree_malls-0.1.0 config/routes.rb