feed titles now prefixed with SiteSetting.title

This commit is contained in:
Alexander 2014-04-30 19:25:50 -07:00
parent 13f82f856f
commit 891a1c4279

View file

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