RSS title element is SiteSetting.title + translated filter description

This commit is contained in:
Alexander 2014-05-05 09:33:19 -07:00
parent 43ed6979be
commit deb99e956e
1 changed files with 1 additions and 1 deletions

View File

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