mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
新增:更改默认分支接口
This commit is contained in:
@@ -48,7 +48,8 @@ defaults format: :json do
|
||||
end
|
||||
resources :branches, only:[:index, :create] do
|
||||
collection do
|
||||
get :all
|
||||
get :all
|
||||
patch :update_default_branch
|
||||
end
|
||||
end
|
||||
resources :commits, only: [:index]
|
||||
|
||||
Reference in New Issue
Block a user