diff --git a/app/controllers/weapps/subjects_controller.rb b/app/controllers/weapps/subjects_controller.rb new file mode 100644 index 000000000..8459ee147 --- /dev/null +++ b/app/controllers/weapps/subjects_controller.rb @@ -0,0 +1,4 @@ +class Weapps::SubjectsController < Weapps::BaseController + + +end diff --git a/config/routes.rb b/config/routes.rb index e7482d813..9b2bd3a16 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1018,6 +1018,8 @@ Rails.application.routes.draw do post :cancel_sticky, on: :collection end + resources :subjects, path: :paths, only: [:create, :update, :edit, :show] + resources :courses, only: [:create, :update, :edit, :show] do member do get :shixun_homework_category