Fixed bug in routes.rb
This commit is contained in:
parent
e40f865c45
commit
bdb177dfa6
1 changed files with 21 additions and 21 deletions
|
@ -115,39 +115,39 @@ Foodsoft::Application.routes.draw do
|
||||||
post :sync
|
post :sync
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
resources :article_categories
|
resources :article_categories
|
||||||
|
|
||||||
########### Finance
|
########### Finance
|
||||||
|
|
||||||
namespace :finance do
|
namespace :finance do
|
||||||
root :to => 'balancing#index'
|
root :to => 'balancing#index'
|
||||||
match 'balancing/list' => 'balancing#list', :as => 'balancing'
|
match 'balancing/list' => 'balancing#list', :as => 'balancing'
|
||||||
|
|
||||||
resources :invoices
|
resources :invoices
|
||||||
|
|
||||||
resources :transactions do
|
resources :transactions do
|
||||||
collection do
|
collection do
|
||||||
get :new_collection
|
get :new_collection
|
||||||
post :create_collection
|
post :create_collection
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
########### Administration
|
########### Administration
|
||||||
|
|
||||||
namespace :admin do
|
namespace :admin do
|
||||||
root :to => 'base#index'
|
root :to => 'base#index'
|
||||||
|
|
||||||
resources :users
|
resources :users
|
||||||
|
|
||||||
resources :workgroups do
|
resources :workgroups do
|
||||||
get :memberships, :on => :member
|
get :memberships, :on => :member
|
||||||
end
|
end
|
||||||
|
|
||||||
resources :ordergroups do
|
resources :ordergroups do
|
||||||
get :memberships, :on => :member
|
get :memberships, :on => :member
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue