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

9 lines
461 B
Plaintext
Raw Normal View History

json.projects @projects do |json, project|
json.partial! 'project', :project => project, :json => json
2013-02-07 13:50:55 +00:00
json.(project, :visibility, :description, :ancestry, :has_issues, :has_wiki, :default_branch, :is_package, :average_build_time, :publish_i686_into_x86_64)
json.created_at project.created_at.to_i
json.updated_at project.updated_at.to_i
json.partial! 'api/v1/shared/owner', :owner => project.owner
end
json.url api_v1_projects_path(:format => :json)