summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-12-07 01:32:22 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-12-07 01:32:22 +0000
commitf1175fda70b98f7ba3b8c15e8ba079d109d5295f (patch)
treee369a10341e5d1b1a5e6969bc02948d14bf8c386 /config
parenta624204f1b4023dcb84f40e0535afd3b073a80e9 (diff)
downloadredmine-f1175fda70b98f7ba3b8c15e8ba079d109d5295f.tar.gz
redmine-f1175fda70b98f7ba3b8c15e8ba079d109d5295f.zip
prevent i18n deprecated warning
i18n 0.6.4 on Rails 3.2.16 changes behavior. https://github.com/svenfuchs/i18n/commit/3b6e56e06fd70f6e4507996b017238505e66608c git-svn-id: http://svn.redmine.org/redmine/trunk@12365 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r--config/application.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb
index e18447fa4..58d949a48 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -33,6 +33,8 @@ module RedmineApp
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
# config.i18n.default_locale = :de
+ I18n.enforce_available_locales = false
+
# Configure the default encoding used in templates for Ruby 1.9.
config.encoding = "utf-8"