Files
gitlink-forgeplus/app/views/api/v1/projects/branches/index.json.jbuilder
2023-02-03 10:53:24 +08:00

4 lines
187 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
end