|
|
@ -1009,6 +1009,18 @@ Rails.application.routes.draw do
|
|
|
|
end
|
|
|
|
end
|
|
|
|
resource :competition_setting, only: [:show, :update]
|
|
|
|
resource :competition_setting, only: [:show, :update]
|
|
|
|
end
|
|
|
|
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
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
namespace :cooperative do
|
|
|
|
namespace :cooperative do
|
|
|
|