summaryrefslogtreecommitdiff
path: root/app/views/groups/show.atom.builder
blob: 5610746ad017c154d1d6aefbfdf2ed78828ccb98 (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

xml.title   "#{@group.name} activity"
xml.link    href: group_url(@group, rss_url_options), rel: "self", type: "application/atom+xml"
xml.link    href: group_url(@group), rel: "alternate", type: "text/html"
xml.id      group_url(@group)
xml.updated @events[0].updated_at.xmlschema if @events[0]

xml << render(@events) if @events.any?