Missed reference to `type`
This commit is contained in:
parent
d78a2b2b91
commit
9858beb6af
|
@ -29,7 +29,7 @@ module SiteSettingExtension
|
||||||
|
|
||||||
# just like a setting, except that it is available in javascript via DiscourseSession
|
# just like a setting, except that it is available in javascript via DiscourseSession
|
||||||
def client_setting(name, default = nil)
|
def client_setting(name, default = nil)
|
||||||
setting(name,default,type)
|
setting(name,default)
|
||||||
@@client_settings ||= []
|
@@client_settings ||= []
|
||||||
@@client_settings << name
|
@@client_settings << name
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue