gitlab-org--gitlab-foss/app/views/projects/show.atom.builder
2017-06-12 19:21:13 +02:00

7 lines
439 B
Ruby

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