summaryrefslogtreecommitdiff
path: root/app/views/dashboard
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2016-05-23 17:06:26 -0400
committerRobert Speicher <rspeicher@gmail.com>2016-05-23 17:06:26 -0400
commit7001842dc463f1ba9ac4f1479c7310c75707c35b (patch)
tree95f8c1a11f96ee3fa96ebb7710552373c37ab12e /app/views/dashboard
parentc002a560afae7db6a5c778bc78028243c2fc945a (diff)
downloadgitlab-ce-7001842dc463f1ba9ac4f1479c7310c75707c35b.tar.gz
Remove `issue_to_atom` helperrs-remove-issue_to_atom
Diffstat (limited to 'app/views/dashboard')
-rw-r--r--app/views/dashboard/issues.atom.builder5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/views/dashboard/issues.atom.builder b/app/views/dashboard/issues.atom.builder
index 0d7b1b30dc3..83c0c6da21b 100644
--- a/app/views/dashboard/issues.atom.builder
+++ b/app/views/dashboard/issues.atom.builder
@@ -6,8 +6,5 @@ xml.feed "xmlns" => "http://www.w3.org/2005/Atom", "xmlns:media" => "http://sear
xml.id issues_dashboard_url
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
-