diff options
author | David Cabo <david@calibea.com> | 2011-10-02 22:45:57 +0200 |
---|---|---|
committer | David Cabo <david@calibea.com> | 2011-10-02 22:45:57 +0200 |
commit | d741b7dea2adb9807ee76acbdc978895e3b11535 (patch) | |
tree | 9dfc02bfaaa5f16e0cb53a05ae506e5a9299dc2e | |
parent | 9179a0b0ba7cdd84494ed614a04d95c7a976ba88 (diff) |
Ensure I18n.available_locales is a list of symbols, not strings. Fixes #244
-rw-r--r-- | config/environment.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/environment.rb b/config/environment.rb index daeefb615..0af465049 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -130,7 +130,7 @@ end FastGettext.default_available_locales = available_locales I18n.locale = default_locale -I18n.available_locales = available_locales +I18n.available_locales = available_locales.map {|locale_name| locale_name.to_sym} I18n.default_locale = default_locale # Load monkey patches and other things from lib/ |