mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
新增:仓库列表和分支列表
This commit is contained in:
@@ -78,9 +78,10 @@ defaults format: :json do
|
||||
|
||||
# projects文件夹下的
|
||||
scope module: :projects do
|
||||
resources :sync_repositories, only: [:create] do
|
||||
resources :sync_repositories, only: [:create, :index] do
|
||||
collection do
|
||||
post :sync
|
||||
get :branches
|
||||
end
|
||||
end
|
||||
resource :dataset, only: [:create, :update, :show]
|
||||
|
||||
Reference in New Issue
Block a user