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

7 lines
372 B
Ruby

xml.title "Activity"
xml.link href: dashboard_projects_url(rss_url_options), rel: "self", type: "application/atom+xml"
xml.link href: dashboard_projects_url, rel: "alternate", type: "text/html"
xml.id dashboard_projects_url
xml.updated @events[0].updated_at.xmlschema if @events[0]
xml << render(partial: 'events/event', collection: @events) if @events.any?