diff options
author | Rhenium <rhenium@rhe.jp> | 2013-12-07 18:18:08 +0900 |
---|---|---|
committer | Rhenium <rhenium@rhe.jp> | 2013-12-07 18:18:08 +0900 |
commit | 2369396fb6fbfc0253b8ef45d46dccec95fae3fa (patch) | |
tree | 884d0dd970dc30fa6abb111d11f1128d41f18ef1 /config/application.rb | |
parent | 2cb1980cf9013b29473fed7aa365efbfb3bdd721 (diff) | |
download | aclog-2369396fb6fbfc0253b8ef45d46dccec95fae3fa.tar.gz |
add I18n.enforce_available_locales = true
Diffstat (limited to 'config/application.rb')
-rw-r--r-- | config/application.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb index f3e3eba..38fa741 100644 --- a/config/application.rb +++ b/config/application.rb @@ -21,6 +21,7 @@ module Aclog # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded. # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s] + I18n.enforce_available_locales = true config.i18n.default_locale = :ja config.i18n.fallbacks = true |