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

9 lines
319 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)
json.git_url git_repo_url(project.name_with_owner)
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