config/routes.rb in educode_sales-1.0.3 vs config/routes.rb in educode_sales-1.0.4
- old
+ new
@@ -23,10 +23,25 @@
get :search_money_plans, to: "home#search_money_plans"
resources :sessions do
end
+ resources :invoices do
+ collection do
+ get :apply_records
+ get :apply
+ get :details
+ get :invoice_amount
+ post :create_apply
+ post :add_invoice
+ get :list
+ end
+ member do
+ get :sales_details
+ end
+ end
+
resources :sales_details do
collection do
post :upload
end
end
@@ -71,9 +86,10 @@
resources :money_plan_records do
collection do
get :add
get :confirm_plan
+ post :upload
end
member do
post :confirm
end
end