config/routes.rb in educode_sales-1.0.2 vs config/routes.rb in educode_sales-1.0.3

- old
+ new

@@ -17,12 +17,13 @@ get :staff_business, to: "home#staff_business" get :staff_departments, to: "home#staff_departments" get :filter, to: "application#filter" get :search_activity, to: "home#search_activity" get :search_customer, to: "home#search_customer" + get :search_contracts, to: "home#search_contracts" + get :search_money_plans, to: "home#search_money_plans" - resources :sessions do end resources :sales_details do collection do @@ -60,9 +61,23 @@ resources :customer_extensions do end resources :customer_follows do end resources :money_plans do + collection do + get :list + get :add + end + end + + resources :money_plan_records do + collection do + get :add + get :confirm_plan + end + member do + post :confirm + end end resources :customers do collection do get :show_follow