A tiny typo fix. It all adds up...

This commit is contained in:
Aaron Chambers 2013-02-07 00:46:57 +00:00
parent 471c61fd69
commit 1c29b040c5
1 changed files with 2 additions and 2 deletions

View File

@ -31,8 +31,8 @@ module SiteSettingExtension
end end
# 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, defualt = nil, type = nil) def client_setting(name, default = nil, type = nil)
setting(name,defualt,type) setting(name,default,type)
@@client_settings ||= [] @@client_settings ||= []
@@client_settings << name @@client_settings << name
end end