gitlink-forgeplus/app/views/api/v1/projects/branches/create.json.jbuilder

2 lines
134 B
Ruby

json.partial! "api/v1/projects/branches/simple_gitea_detail", branch: @result_object, default_branch: @result_object[:default_branch]