Locomotive.config.default_locale as default locale for new accounts.
This commit is contained in:
parent
0fde9917d5
commit
f6c91ed791
@ -9,7 +9,7 @@ class Account
|
||||
|
||||
## attributes ##
|
||||
field :name
|
||||
field :locale, :default => 'en'
|
||||
field :locale, :default => Locomotive.config.default_locale.to_s or 'en'
|
||||
field :switch_site_token
|
||||
|
||||
## validations ##
|
||||
|
Loading…
Reference in New Issue
Block a user