mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 09:10:25 +08:00
FIX: Client settings were not being published.
This commit is contained in:
parent
5120dcfb3d
commit
f2c64a3580
2 changed files with 13 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue