2013-07-17 13:35:36 +01:00
|
|
|
json.repository do
|
2014-01-21 04:51:49 +00:00
|
|
|
json.partial! 'repository', repository: @repository
|
2013-07-17 13:35:36 +01:00
|
|
|
json.projects @projects do |project|
|
2014-01-21 04:51:49 +00:00
|
|
|
json.partial! 'api/v1/projects/project', project: project
|
2012-10-19 14:52:36 +01:00
|
|
|
end
|
|
|
|
end
|
2014-01-21 04:51:49 +00:00
|
|
|
json.url projects_api_v1_repository_path(@repository.id, format: :json)
|