2021-02-12 12:09:02 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-06-12 17:21:13 +00:00
|
|
|
xml.title "#{@user.name} activity"
|
|
|
|
xml.link href: user_url(@user, :atom), rel: "self", type: "application/atom+xml"
|
|
|
|
xml.link href: user_url(@user), rel: "alternate", type: "text/html"
|
|
|
|
xml.id user_url(@user)
|
|
|
|
xml.updated @events[0].updated_at.xmlschema if @events[0]
|
2014-12-04 19:49:19 +00:00
|
|
|
|
2017-06-12 17:21:13 +00:00
|
|
|
xml << render(@events) if @events.any?
|