Missed reference to `type`

This commit is contained in:
Robin Ward 2013-03-01 17:33:23 -05:00
parent d78a2b2b91
commit 9858beb6af
1 changed files with 1 additions and 1 deletions

View File

@ -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