|
|
@ -787,7 +787,7 @@ Rails.application.routes.draw do
|
|
|
|
resources :competitions, only: [:index, :show, :update] do
|
|
|
|
resources :competitions, only: [:index, :show, :update] do
|
|
|
|
resources :competition_modules, only: [:index, :show, :update]
|
|
|
|
resources :competition_modules, only: [:index, :show, :update]
|
|
|
|
resource :competition_staff
|
|
|
|
resource :competition_staff
|
|
|
|
resources :competition_teams, only: [:index, :show] do
|
|
|
|
resources :competition_teams, only: [:index, :show, :create, :update] do
|
|
|
|
post :join, on: :collection
|
|
|
|
post :join, on: :collection
|
|
|
|
post :leave, on: :member
|
|
|
|
post :leave, on: :member
|
|
|
|
get :course_detail, on: :member
|
|
|
|
get :course_detail, on: :member
|
|
|
|