rosa-build/app/views/api/v1/projects/_project.json.jbuilder

9 lines
309 B
Plaintext
Raw Normal View History

json.(project, :id, :name, :visibility)
json.fullname project.name_with_owner
2014-01-21 04:51:49 +00:00
json.url api_v1_project_path(project.id, format: :json)
2016-03-20 09:24:23 +00:00
json.git_url project.git_project_address
2014-11-27 12:21:39 +00:00
json.maintainer do
if project.maintainer
json.partial! 'api/v1/maintainers/maintainer', maintainer: project.maintainer
end
end