config/routes.rb in educode_sales-0.9.73 vs config/routes.rb in educode_sales-0.9.74
- old
+ new
@@ -12,17 +12,27 @@
get :search, to: "home#search"
get :no_permission, to: "home#no_permission"
get :sales_staff, to: "home#sales_staff"
get :sales_place, to: "home#sales_place"
get :staff_schools, to: "home#staff_schools"
+ get :staff_business, to: "home#staff_business"
get :staff_departments, to: "home#staff_departments"
get :filter, to: "application#filter"
resources :sessions do
end
+ resources :contracts do
+ collection do
+ get :follow_ups
+ get :list
+ get :new_follow_up
+ post :add_follow_ups
+ end
+ end
+
resources :logs
resources :user_behaviors
resources :customer_extensions do
end
@@ -289,11 +299,20 @@
end
resources :ideas do
collection do
get :detail
get :history
+ get :show_teachers
+ get :new_follow_up
+ get :follow_ups
+ post :add_advise
+ get :upload_file
end
member do
+ get :show_schools
+ post :follow_up
+ put :update_advise
+ get :files
end
end
resources :idea_recycles do
collection do
get :detail