2021-03-11 19:13:27 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
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]
|
2015-04-26 12:48:37 +05:30
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
xml << render(@events) if @events.any?
|