From ec0ec5fc32bf8459cec23068007f4ca3d8b7bf67 Mon Sep 17 00:00:00 2001 From: Vokhmin Alexey V Date: Mon, 8 Oct 2012 17:37:09 +0400 Subject: [PATCH] #374: revert some changes --- app/views/api/v1/projects/get_id.json.jbuilder | 8 -------- 1 file changed, 8 deletions(-) diff --git a/app/views/api/v1/projects/get_id.json.jbuilder b/app/views/api/v1/projects/get_id.json.jbuilder index 4f26ee8d8..db584a3c8 100644 --- a/app/views/api/v1/projects/get_id.json.jbuilder +++ b/app/views/api/v1/projects/get_id.json.jbuilder @@ -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