Ordering refactored: Made everything RESTful.
This commit is contained in:
parent
45e0048490
commit
eb4705857b
19 changed files with 340 additions and 222 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue