mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 22:37:37 +08:00
FIX: Client settings were not being published.
This commit is contained in:
@ -151,7 +151,7 @@ module SiteSettingExtension
|
||||
# just like a setting, except that it is available in javascript via DiscourseSession
|
||||
def client_setting(name, default = nil, opts = {})
|
||||
setting(name, default, opts)
|
||||
client_settings << name
|
||||
client_settings << name.to_sym
|
||||
end
|
||||
|
||||
def settings_hash
|
||||
|
Reference in New Issue
Block a user