mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
Merge pull request '代码仓库同步部分代码' (#282) from reposync_feature into standalone_develop
This commit is contained in:
@@ -78,6 +78,17 @@ defaults format: :json do
|
||||
|
||||
# projects文件夹下的
|
||||
scope module: :projects do
|
||||
resources :sync_repositories, only: [:create, :index] do
|
||||
collection do
|
||||
post :update_info
|
||||
post :sync
|
||||
get :branches
|
||||
post :change_enable
|
||||
post :unbind
|
||||
get :history
|
||||
post :create_branch
|
||||
end
|
||||
end
|
||||
resource :dataset, only: [:create, :update, :show]
|
||||
resources :actions, module: 'actions' do
|
||||
collection do
|
||||
|
||||
Reference in New Issue
Block a user