diff options
author | Douwe Maan <douwe@gitlab.com> | 2016-05-25 20:51:53 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2016-05-25 20:51:53 +0000 |
commit | f96127bc2c9d9b711960cc2ea4cb4f2ffde5cfcb (patch) | |
tree | f4bd7fe1af80fdf1e95d1db5cb9b6aa0229c6dc2 /app/views/groups | |
parent | c1167be283e4471e11b32ebf75bc50b416e82423 (diff) | |
parent | 7001842dc463f1ba9ac4f1479c7310c75707c35b (diff) | |
download | gitlab-ce-f96127bc2c9d9b711960cc2ea4cb4f2ffde5cfcb.tar.gz |
Merge branch 'rs-remove-issue_to_atom' into 'master'
Remove `issue_to_atom` helper
See merge request !4265
Diffstat (limited to 'app/views/groups')
-rw-r--r-- | app/views/groups/issues.atom.builder | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/app/views/groups/issues.atom.builder b/app/views/groups/issues.atom.builder index a6eb9abada6..c19671295af 100644 --- a/app/views/groups/issues.atom.builder +++ b/app/views/groups/issues.atom.builder @@ -6,8 +6,5 @@ xml.feed "xmlns" => "http://www.w3.org/2005/Atom", "xmlns:media" => "http://sear xml.id issues_group_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 - |