修改用户项目的路由
This commit is contained in:
parent
ac66a61892
commit
9178b5f5fd
|
@ -147,6 +147,7 @@ Rails.application.routes.draw do
|
||||||
get :me
|
get :me
|
||||||
get :list
|
get :list
|
||||||
post :sync_token
|
post :sync_token
|
||||||
|
get :projects
|
||||||
end
|
end
|
||||||
|
|
||||||
scope module: :users do
|
scope module: :users do
|
||||||
|
@ -436,7 +437,6 @@ Rails.application.routes.draw do
|
||||||
post :unlock
|
post :unlock
|
||||||
post :active
|
post :active
|
||||||
post :reset_login_times
|
post :reset_login_times
|
||||||
get :projects
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
resource :import_disciplines, only: [:create]
|
resource :import_disciplines, only: [:create]
|
||||||
|
|
Loading…
Reference in New Issue