mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-24 05:35:46 +08:00
Merge pull request 'CLA 创建系列' (#56) from KingChan/forgeplus:chenjing into standalone_develop
This commit is contained in:
@@ -147,6 +147,7 @@ Rails.application.routes.draw do
|
||||
delete :quit
|
||||
end
|
||||
end
|
||||
resources :clas
|
||||
resources :teams, except: [:edit, :new] do
|
||||
collection do
|
||||
get :search
|
||||
@@ -389,7 +390,7 @@ Rails.application.routes.draw do
|
||||
|
||||
scope module: :users do
|
||||
resource :interest, only: [:create]
|
||||
|
||||
resources :clas, only: [:index,:create]
|
||||
resources :accounts, only: [:show, :update] do
|
||||
resource :phone_bind, only: [:create]
|
||||
resource :email_bind, only: [:create]
|
||||
@@ -847,7 +848,12 @@ Rails.application.routes.draw do
|
||||
resources :school_statistics, only: [:index] do
|
||||
get :contrast, on: :collection
|
||||
end
|
||||
resources :organizations, only: [:index, :edit, :show, :destroy]
|
||||
resources :organizations, only: [:index, :edit, :show, :destroy] do
|
||||
member do
|
||||
post :open_cla
|
||||
post :close_cla
|
||||
end
|
||||
end
|
||||
resources :users, only: [:index, :edit, :update, :destroy] do
|
||||
member do
|
||||
post :reward_grade
|
||||
|
||||
Reference in New Issue
Block a user