Merge pull request #285 from alxndr/rss-for-topics

Specify type in topic RSS autodiscovery tag
This commit is contained in:
Robin Ward 2013-02-27 15:33:11 -08:00
commit c62729b5b6
1 changed files with 1 additions and 1 deletions

View File

@ -23,5 +23,5 @@
<p>Powered by <a href="http://www.discourse.org">Discourse</a>, best viewed with JavaScript enabled</p>
<% content_for :head do %>
<%= auto_discovery_link_tag(@topic_view, {action: :feed, format: :rss}, title: "RSS feed of '#{@topic_view.title}'") %>
<%= auto_discovery_link_tag(@topic_view, {action: :feed, format: :rss}, title: "RSS feed of '#{@topic_view.title}'", type: 'application/rss+xml') %>
<% end %>