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

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

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