From 2e7b69f849a0b1b942dd21f0de1e867790662789 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Thu, 1 May 2014 14:09:15 -0400 Subject: [PATCH] RSS feed for topics and posts now use a guid that will always be unique, unlike urls which can change when the topic slug changes --- app/views/list/list.rss.erb | 2 +- app/views/topics/show.rss.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/list/list.rss.erb b/app/views/list/list.rss.erb index c9ed0be878f..fe1a48d4382 100644 --- a/app/views/list/list.rss.erb +++ b/app/views/list/list.rss.erb @@ -27,7 +27,7 @@ ]]> <%= topic_url %> <%= topic.created_at.rfc2822 %> - <%= topic_url %> + topic-<%= topic.id %> <%= topic.title %> <% end %> diff --git a/app/views/topics/show.rss.erb b/app/views/topics/show.rss.erb index 67df5fd6568..a20275d0bc9 100644 --- a/app/views/topics/show.rss.erb +++ b/app/views/topics/show.rss.erb @@ -30,7 +30,7 @@ ]]> <%= post_url %> <%= post.created_at.rfc2822 %> - <%= post_url %> + post-<%= post.topic_id %>-<%= post.post_number %> <%= @topic_view.title %> <% end %>