FIX: update RSS description for public/private posts

This commit is contained in:
Arpit Jalan 2016-03-21 18:45:16 +05:30
parent 34469e725b
commit c54dc4a8d9
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ class PostsController < ApplicationController
@posts = posts
@title = "#{SiteSetting.title} - #{rss_description}"
@link = Discourse.base_url
@description = I18n.t("rss_description.posts")
@description = rss_description
render 'posts/latest', formats: [:rss]
end
format.json do