mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 01:31:35 +08:00
FEATURE: Add hot as a homepage option (#25325)
This commit is contained in:
@ -185,6 +185,12 @@ class UserOption < ActiveRecord::Base
|
||||
"bookmarks"
|
||||
when 7
|
||||
"unseen"
|
||||
when 8
|
||||
if SiteSetting.experimental_hot_topics
|
||||
"hot"
|
||||
else
|
||||
SiteSetting.homepage
|
||||
end
|
||||
else
|
||||
SiteSetting.homepage
|
||||
end
|
||||
|
Reference in New Issue
Block a user