Merge pull request #153 from abf/rosa-build:152-rename-extra_repos-field

#152: rename "extra_repos" field of BuildList API
This commit is contained in:
warpc 2013-05-31 13:09:46 +04:00
commit 60fac97bcd
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