#152: update BuildList#show API

This commit is contained in:
Vokhmin Alexey V 2013-05-31 12:57:33 +04:00
parent 62f612d87c
commit c7884d8cc8
1 changed files with 1 additions and 1 deletions

View File

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