Refactored finance/ordergroups|transactions module.
This commit is contained in:
parent
fc1d130113
commit
ea6348bc5c
38 changed files with 967 additions and 443 deletions
|
|
@ -115,12 +115,12 @@ Foodsoft::Application.routes.draw do
|
|||
|
||||
resources :invoices
|
||||
|
||||
resources :transactions do
|
||||
collection do
|
||||
get :new_collection
|
||||
post :create_collection
|
||||
end
|
||||
resources :ordergroups, :only => [:index] do
|
||||
resources :financial_transactions, :as => :transactions
|
||||
end
|
||||
|
||||
get 'transactions/new_collection' => 'financial_transactions#new_collection', :as => 'new_transaction_collection'
|
||||
post 'transactions/create_collection' => 'financial_transactions#create_collection', :as => 'create_transaction_collection'
|
||||
end
|
||||
|
||||
########### Administration
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue