debian-mirror-gitlab/app/views/projects/show.atom.builder
2017-09-10 17:25:29 +05:30

7 lines
349 B
Ruby

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?