mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-04 04:03:25 +08:00
5 lines
237 B
Ruby
5 lines
237 B
Ruby
json.total_count @result_object[:total_data].to_i
|
|
json.branches @result_object[:data].each do |branch|
|
|
json.partial! "api/v1/projects/branches/simple_gitea_detail", branch: branch, default_branch: @result_object[:default_branch]
|
|
|
|
end |