FIX: update RSS description for public/private posts
This commit is contained in:
parent
34469e725b
commit
c54dc4a8d9
|
@ -70,7 +70,7 @@ class PostsController < ApplicationController
|
||||||
@posts = posts
|
@posts = posts
|
||||||
@title = "#{SiteSetting.title} - #{rss_description}"
|
@title = "#{SiteSetting.title} - #{rss_description}"
|
||||||
@link = Discourse.base_url
|
@link = Discourse.base_url
|
||||||
@description = I18n.t("rss_description.posts")
|
@description = rss_description
|
||||||
render 'posts/latest', formats: [:rss]
|
render 'posts/latest', formats: [:rss]
|
||||||
end
|
end
|
||||||
format.json do
|
format.json do
|
||||||
|
|
Loading…
Reference in New Issue