FIX: Use the `bumped_at` date for the RSS feed for a topic

This commit is contained in:
Robin Ward 2014-08-27 12:34:47 -04:00
parent 443f3812ab
commit bf8528b6ec
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
<link><%= topic_url %></link>
<description><%= @topic_view.posts.first.raw %></description>
<%= "<language>#{lang}</language>" if lang %>
<lastBuildDate><%= @topic_view.topic.created_at.rfc2822 %></lastBuildDate>
<lastBuildDate><%= @topic_view.topic.bumped_at.rfc2822 %></lastBuildDate>
<category><%= @topic_view.topic.category.name %></category>
<atom:link href="<%= topic_url %>.rss" rel="self" type="application/rss+xml" />
<% @topic_view.recent_posts.each do |post| %>