summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJeroen van Baarsen <jeroenvanbaarsen@gmail.com>2014-01-09 13:17:02 +0100
committerJeroen van Baarsen <jeroenvanbaarsen@gmail.com>2014-01-09 13:17:02 +0100
commitc466f4cc44a61c1fbb827113e232c65f3c0ac9ec (patch)
treebfdd4d585d5c0624731c0e0824e36b2e1ce9dbec /config
parentcb589d231aaa9f4cf7a10c41d6fd1ebe34428173 (diff)
downloadgitlab-ce-c466f4cc44a61c1fbb827113e232c65f3c0ac9ec.tar.gz
Fixed the I18n deprecation warning
Diffstat (limited to 'config')
-rw-r--r--config/application.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb
index 1c91134f524..88759ce7cf3 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -38,6 +38,7 @@ module Gitlab
# 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]
# config.i18n.default_locale = :de
+ config.i18n.enforce_available_locales = false
# Configure the default encoding used in templates for Ruby 1.9.
config.encoding = "utf-8"