mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
新增:最新提交列表接口
This commit is contained in:
@@ -90,7 +90,11 @@ defaults format: :json do
|
||||
delete 'tags/*name', to: "tags#destroy", via: :all
|
||||
get 'tags/*name', to: "tags#show", via: :all
|
||||
|
||||
resources :commits, only: [:index]
|
||||
resources :commits, only: [:index] do
|
||||
collection do
|
||||
get :recent
|
||||
end
|
||||
end
|
||||
resources :code_stats, only: [:index]
|
||||
resources :contributors, only: [:index] do
|
||||
collection do
|
||||
|
||||
Reference in New Issue
Block a user