config/routes.rb in educode_sales-0.1.0 vs config/routes.rb in educode_sales-0.1.1
- old
+ new
@@ -11,11 +11,17 @@
get :no_permission, to: "home#no_permission"
resources :sessions do
end
- resources :operation_reports
+ resources :operation_reports do
+ member do
+ get :plans
+ get :audit
+ put :update_audit
+ end
+ end
resources :sale_reports do
member do
get :plans
get :audit
@@ -23,12 +29,10 @@
end
end
resources :key_person
- resources :operation_plans
-
resources :follow_ups do
member do
get :teachers
post :add_keys
post :add_money
@@ -67,11 +71,10 @@
resources :places do
end
resources :plans do
collection do
- get :operation
get :new_week
get :new_weekly
get :new_month
get :new_monthly
get :show_week
@@ -99,10 +102,12 @@
get :show_monthly
get :edit_week
get :edit_weekly
get :edit_month
get :edit_monthly
+ get :my_week
+ get :my_month
end
end
resources :teachers do
collection do
@@ -156,7 +161,9 @@
resources :roles do
member do
put :view
end
end
+
+ resources :teacher_follows
end