Locomotive.config.default_locale as default locale for new accounts.

This commit is contained in:
Andrea Frigido 2011-07-11 13:13:58 +02:00
parent 0fde9917d5
commit f6c91ed791

View File

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