#374: revert some changes
This commit is contained in:
parent
b1a9e2aa21
commit
ec0ec5fc32
|
@ -5,13 +5,5 @@ json.project do |json|
|
|||
json_owner.type @project.owner_type
|
||||
json_owner.url url_for(@project.owner)
|
||||
end
|
||||
json.repositories @project.repositories do |json_repos, repo|
|
||||
json_repos.(repo, :id, :name)
|
||||
json_repos.url api_v1_repository_path(repo.name, :format => :json)
|
||||
json_repos.platform do |json_platform|
|
||||
json_platform.(repo.platform, :id, :name)
|
||||
json_platform.url api_v1_platform_path(repo.platform, :format => :json)
|
||||
end
|
||||
end
|
||||
json.url api_v1_project_path(@project, :format => :json)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue