Ordering refactored: Made everything RESTful.

This commit is contained in:
benni 2011-06-19 15:30:33 +02:00
parent 45e0048490
commit eb4705857b
19 changed files with 340 additions and 222 deletions

View file

@ -39,7 +39,9 @@ Foodsoft::Application.routes.draw do
end
end
match '/ordering/myOrders' => 'ordering#myOrders', :as => 'my_orders'
resources :group_orders, :controller => 'ordering', :path => 'ordering' do
get :archive, :on => :collection
end
match '/ordering' => 'ordering#index', :as => 'ordering'
############ Foodcoop orga