mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-05-04 01:43:55 -04:00
Merge pull request #48 from achambers/patch-1
A tiny typo fix. It all adds up...
This commit is contained in:
commit
415f810089
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue