config/routes.rb in radiant-shop-extension-0.9.3 vs config/routes.rb in radiant-shop-extension-0.10.0
- old
+ new
@@ -1,9 +1,11 @@
ActionController::Routing::Routes.draw do |map|
map.namespace :admin do |admin|
admin.namespace :shop, :member => { :remove => :get } do |shop|
+ shop.resources :customers
+
shop.resources :categories, :collection => { :sort => :put }, :member => { :products => :get } do |category|
category.resources :products, :only => :new
end
shop.resources :products, :except => :new, :collection => { :sort => :put } do |product|