summaryrefslogtreecommitdiff
path: root/app/views/groups/show.atom.builder
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/groups/show.atom.builder')
-rw-r--r--app/views/groups/show.atom.builder4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/groups/show.atom.builder b/app/views/groups/show.atom.builder
index c66b82bb484..b68bf444d27 100644
--- a/app/views/groups/show.atom.builder
+++ b/app/views/groups/show.atom.builder
@@ -6,7 +6,5 @@ xml.feed "xmlns" => "http://www.w3.org/2005/Atom", "xmlns:media" => "http://sear
xml.id group_url(@group)
xml.updated @events[0].updated_at.xmlschema if @events[0]
- @events.each do |event|
- event_to_atom(xml, event)
- end
+ xml << render(@events) if @events.any?
end