2021-02-12 07:09:02 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-06-12 13:21:13 -04:00
|
|
|
xml.title "#{@project.name} activity"
|
2017-06-29 13:06:35 -04:00
|
|
|
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)
|
2017-06-12 13:21:13 -04:00
|
|
|
xml.updated @events[0].updated_at.xmlschema if @events[0]
|
2015-04-21 10:57:01 -04:00
|
|
|
|
2017-06-12 13:21:13 -04:00
|
|
|
xml << render(@events) if @events.any?
|