diff --git a/config/routes.rb b/config/routes.rb index 6a5af684e..f2b1342e0 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1009,6 +1009,18 @@ Rails.application.routes.draw do end resource :competition_setting, only: [:show, :update] end + + resources :subjects, only: [:index, :edit, :update, :destroy] do + member do + post :hide + post :cancel_hide + post :homepage_show + post :cancel_homepage_show + post :excellent + post :cancel_excellent + end + end + end namespace :cooperative do