mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
FIX: update RSS description for public/private posts
This commit is contained in:
parent
34469e725b
commit
c54dc4a8d9
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue