9 lines
380 B
Ruby
9 lines
380 B
Ruby
# 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?
|