mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 03:18:09 +08:00
add top page
This commit is contained in:
@ -53,7 +53,7 @@ class SiteSetting < ActiveRecord::Base
|
||||
end
|
||||
|
||||
def self.anonymous_menu_items
|
||||
@anonymous_menu_items ||= Set.new ['latest', 'hot', 'categories', 'category']
|
||||
@anonymous_menu_items ||= Set.new Discourse.anonymous_filters.map(&:to_s)
|
||||
end
|
||||
|
||||
def self.anonymous_homepage
|
||||
|
Reference in New Issue
Block a user