config/routes.rb in educode_sales-0.5.8 vs config/routes.rb in educode_sales-0.5.9
- old
+ new
@@ -14,9 +14,34 @@
get :sales_place, to: "home#sales_place"
resources :sessions do
end
+ resources :customer_extensions do
+ end
+ resources :customer_follows do
+ end
+
+ resources :customers do
+ collection do
+ get :show_follow
+ get :show_department
+ get :new_follow_record
+ get :show_follow_record
+ get :edit_follow_record
+ get :new_department
+ get :edit_department
+ get :give
+ end
+
+ member do
+ post :create_follow_up
+ put :update_follow_up
+ post :create_department
+ put :update_department
+ end
+ end
+
resources :operation_reports do
member do
get :plans
get :audit
put :update_audit