From c7884d8cc8d1bc0a7afee97ab457eb971f98f483 Mon Sep 17 00:00:00 2001 From: Vokhmin Alexey V Date: Fri, 31 May 2013 12:57:33 +0400 Subject: [PATCH] #152: update BuildList#show API --- app/views/api/v1/build_lists/show.json.jbuilder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/api/v1/build_lists/show.json.jbuilder b/app/views/api/v1/build_lists/show.json.jbuilder index cdfab9f90..ed454876a 100644 --- a/app/views/api/v1/build_lists/show.json.jbuilder +++ b/app/views/api/v1/build_lists/show.json.jbuilder @@ -56,7 +56,7 @@ json.build_list do |json| end extra_repos = Repository.includes(:platform).where(:id => @build_list.extra_repositories) - json.extra_repos extra_repos do |json_extra_repos, repo| + json.extra_repositories extra_repos do |json_extra_repos, repo| json.partial! 'repositories', :repository => repo, :json => json_extra_repos