mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
新增:添加全部或者移除全部团队项目
This commit is contained in:
@@ -139,7 +139,12 @@ Rails.application.routes.draw do
|
||||
delete :quit
|
||||
end
|
||||
end
|
||||
resources :team_projects, only: [:index, :create, :destroy] do ;end
|
||||
resources :team_projects, only: [:index, :create, :destroy] do
|
||||
collection do
|
||||
post :create_all
|
||||
delete :destroy_all
|
||||
end
|
||||
end
|
||||
end
|
||||
resources :projects, only: [:index] do
|
||||
collection do
|
||||
|
||||
Reference in New Issue
Block a user