#374: revert some changes

This commit is contained in:
Vokhmin Alexey V 2012-10-08 17:37:09 +04:00
parent b1a9e2aa21
commit ec0ec5fc32
1 changed files with 0 additions and 8 deletions

View File

@ -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