config/routes.rb in shoppe-0.0.14 vs config/routes.rb in shoppe-0.0.15
- old
+ new
@@ -1,18 +1,19 @@
Shoppe::Engine.routes.draw do
get 'attachment/:id/:filename.:extension' => 'attachments#show'
resources :product_categories
resources :products do
- match :stock_levels, :on => :member, :via => [:get, :post]
+ resources :variants
end
resources :orders do
post :search, :on => :collection
post :accept, :on => :member
post :reject, :on => :member
post :ship, :on => :member
post :pay, :on => :member
end
+ resources :stock_level_adjustments, :only => [:index, :create]
resources :delivery_services do
resources :delivery_service_prices
end
resources :tax_rates
resources :users