Skip to content

Commit

Permalink
BUGFIX: rss feed link for topics has been broken ever since we upgrad…
Browse files Browse the repository at this point in the history
…ed rails
  • Loading branch information
SamSaffron committed Jan 8, 2014
1 parent e8dcd8a commit 60a3641
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/topics/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
<p><%= t 'powered_by_html' %></p>

<% 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 } %>
<% content_for(:title) { @topic_view.title } %>

0 comments on commit 60a3641

Please sign in to comment.