From 60a3641cc5f95f25ac06e4ee8015f9973ea7b616 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 8 Jan 2014 17:20:46 +1100 Subject: [PATCH] BUGFIX: rss feed link for topics has been broken ever since we upgraded rails --- app/views/topics/show.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/topics/show.html.erb b/app/views/topics/show.html.erb index e6747bcc452..7746bde9e77 100644 --- a/app/views/topics/show.html.erb +++ b/app/views/topics/show.html.erb @@ -25,10 +25,10 @@

<%= t 'powered_by_html' %>

<% content_for :head do %> - <%= auto_discovery_link_tag(@topic_view, {action: :feed, format: :rss, slug: @topic_view.topic.slug, topic_id: @topic_view.topic.id}, title: t('rss_posts_in_topic', topic: @topic_view.title), type: 'application/rss+xml') %> + <%= auto_discovery_link_tag(@topic_view, {action: :feed, slug: @topic_view.topic.slug, topic_id: @topic_view.topic.id}, title: t('rss_posts_in_topic', topic: @topic_view.title), type: 'application/rss+xml') %> <%= crawlable_meta_data(title: @topic_view.title, description: @topic_view.summary, image: @topic_view.image_url) %> <% end %> -<% content_for(:title) { @topic_view.title } %> \ No newline at end of file +<% content_for(:title) { @topic_view.title } %>