add posts.rss rel alternate

This commit is contained in:
Arpit Jalan 2015-06-10 00:52:11 +05:30
parent 90eca69e0a
commit 9049f31456

View File

@ -41,6 +41,7 @@
<% if @rss %>
<% content_for :head do %>
<%= auto_discovery_link_tag(:rss, "#{Discourse.base_url}/posts.rss", title: I18n.t("rss_description.posts")) %>
<%= auto_discovery_link_tag(:rss, { action: "#{@rss}_feed" }, title: I18n.t("rss_description.#{@rss}")) %>
<% end %>
<% end %>