rosa-build/app/views/api/v1/repositories/show.json.jbuilder

10 lines
364 B
Plaintext
Raw Normal View History

json.repository do
2014-01-21 04:51:49 +00:00
json.partial! 'repository', repository: @repository
json.(@repository, :description, :publish_without_qa)
json.created_at @repository.created_at.to_i
json.updated_at @repository.updated_at.to_i
json.platform do
json.(@repository.platform, :id, :name)
2014-01-21 04:51:49 +00:00
json.url api_v1_platform_path(@repository.platform, format: :json)
end
end