config/routes.rb in educode_sales-1.10.48 vs config/routes.rb in educode_sales-1.10.49
- old
+ new
@@ -469,6 +469,43 @@
end
resources :teacher_follows
resources :idea_follows
+ resources :business_courses do
+ collection do
+ get :list_shixuns
+ get :list_subjects
+ get :subjects
+ get :select_business
+ end
+ member do
+ end
+ end
+
+ resources :subjects do
+ collection do
+ get :shixun_list
+ get :list_shixuns
+ get :search_subjects
+ end
+ end
+
+ resources :subject_trends do
+ collection do
+ get :trends
+ end
+ end
+
+ resources :shixuns
+
+ resources :shixun_dectects do
+ collection do
+ put :examine
+ get :markdown
+ post :submit
+ end
+ end
+
+
+
end