Commit f9538a7ad409d1fbd282753b5fe086dc0f7a4093
1 parent
80bb7eac
Exists in
master
and in
22 other branches
silence annyoing warning from I18n
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
config/initializers/i18n.rb
1 | # necessary for I18n.default_locale to work | 1 | # necessary for I18n.default_locale to work |
2 | require 'i18n/backend/fallbacks' | 2 | require 'i18n/backend/fallbacks' |
3 | I18n.backend.class.send :include, I18n::Backend::Fallbacks | 3 | I18n.backend.class.send :include, I18n::Backend::Fallbacks |
4 | - | 4 | +I18n.enforce_available_locales = false |