diff options
author | blackst0ne <blackst0ne.ru@gmail.com> | 2017-03-12 01:05:01 +0300 |
---|---|---|
committer | blackst0ne <blackst0ne.ru@gmail.com> | 2017-03-12 01:05:01 +0300 |
commit | 7f33eb39e9b0586f978bdcb171f9980b17e1423d (patch) | |
tree | c25dd6d64575e76a604183afe9475f90ccbec484 /app/views/events | |
parent | 9ed3db915026c6e0cd266a1c276386e3e96d2151 (diff) |
Fix xml.updated field in rss/atom feeds
Diffstat (limited to 'app/views/events')
-rw-r--r-- | app/views/events/_event.atom.builder | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/events/_event.atom.builder b/app/views/events/_event.atom.builder index 7890e717aa7..43a52cf3002 100644 --- a/app/views/events/_event.atom.builder +++ b/app/views/events/_event.atom.builder @@ -4,7 +4,7 @@ xml.entry do xml.id "tag:#{request.host},#{event.created_at.strftime("%Y-%m-%d")}:#{event.id}" xml.link href: event_feed_url(event) xml.title truncate(event_feed_title(event), length: 80) - xml.updated event.created_at.xmlschema + xml.updated event.updated_at.xmlschema xml.media :thumbnail, width: "40", height: "40", url: image_url(avatar_icon(event.author_email)) xml.author do |