mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 17:06:31 -06:00
A tiny typo fix. It all adds up...
This commit is contained in:
parent
471c61fd69
commit
1c29b040c5
@ -31,8 +31,8 @@ module SiteSettingExtension
|
||||
end
|
||||
|
||||
# just like a setting, except that it is available in javascript via DiscourseSession
|
||||
def client_setting(name, defualt = nil, type = nil)
|
||||
setting(name,defualt,type)
|
||||
def client_setting(name, default = nil, type = nil)
|
||||
setting(name,default,type)
|
||||
@@client_settings ||= []
|
||||
@@client_settings << name
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user