mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
RSS feeds should contain only publicly-available posts
This commit is contained in:
parent
f96ea42974
commit
26218ce11f
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ class ListController < ApplicationController
|
||||||
@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"
|
||||||
@topic_list = TopicQuery.new(current_user).public_send("list_#{filter}")
|
@topic_list = TopicQuery.new.public_send("list_#{filter}")
|
||||||
render 'list', formats: [:rss]
|
render 'list', formats: [:rss]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue