2017-06-12 13:21:13 -04: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 14:49:19 -05:00
|
|
|
|
2017-06-12 13:21:13 -04:00
|
|
|
xml << render(@events) if @events.any?
|