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
1 changed files with 1 additions and 1 deletions

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"