summaryrefslogtreecommitdiff
path: root/app/views/projects/issues/index.atom.builder
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-05-26 10:30:11 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-05-26 10:30:11 +0200
commitadc64e4583dc42399f681a9b17490f98b8c4bec0 (patch)
treea80723a31b277b83d69d96e4f00400bbcc0869a0 /app/views/projects/issues/index.atom.builder
parent997178220008696576ffb5cdee6cb9d0e7a44055 (diff)
parent3d009f77853261d43f1d5302d8016f4641ba5fca (diff)
downloadgitlab-ce-adc64e4583dc42399f681a9b17490f98b8c4bec0.tar.gz
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce
Diffstat (limited to 'app/views/projects/issues/index.atom.builder')
-rw-r--r--app/views/projects/issues/index.atom.builder4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/projects/issues/index.atom.builder b/app/views/projects/issues/index.atom.builder
index ee8a9414657..7ad7c9c87e8 100644
--- a/app/views/projects/issues/index.atom.builder
+++ b/app/views/projects/issues/index.atom.builder
@@ -6,7 +6,5 @@ xml.feed "xmlns" => "http://www.w3.org/2005/Atom", "xmlns:media" => "http://sear
xml.id namespace_project_issues_url(@project.namespace, @project)
xml.updated @issues.first.created_at.xmlschema if @issues.any?
- @issues.each do |issue|
- issue_to_atom(xml, issue)
- end
+ xml << render(partial: 'issues/issue', collection: @issues) if @issues.any?
end