Merge pull request #2307 from alxndr/latest-topics-rss-title-tweak

change title in Latest Topics RSS feed title
This commit is contained in:
Sam 2014-05-08 09:21:06 +10:00
commit 4025591a1d

View file

@ -88,7 +88,7 @@ class ListController < ApplicationController
define_method("#{filter}_feed") do
discourse_expires_in 1.minute
@title = "#{filter.capitalize} Topics"
@title = "#{SiteSetting.title} - #{I18n.t("rss_description.#{filter}")}"
@link = "#{Discourse.base_url}/#{filter}"
@description = I18n.t("rss_description.#{filter}")
@atom_link = "#{Discourse.base_url}/#{filter}.rss"