config/routes.rb in shoppe-0.0.9 vs config/routes.rb in shoppe-0.0.10

- old
+ new

@@ -1,9 +1,11 @@ Shoppe::Engine.routes.draw do get 'attachment/:id/:filename.:extension' => 'attachments#show' resources :product_categories - resources :products + resources :products do + match :stock_levels, :on => :member, :via => [:get, :post] + end resources :orders do post :search, :on => :collection post :accept, :on => :member post :reject, :on => :member post :ship, :on => :member