Commit 0d3f1a2d58cf19f3b07fdfecb7ee3a41d442a81d

Authored by Dmitriy Zaporozhets
2 parents 50d2eae8 c466f4cc

Merge pull request #6011 from jvanbaarsen/deprecation_warning_fix

Fixed the I18n deprecation warning
Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
config/application.rb
... ... @@ -38,6 +38,7 @@ module Gitlab
38 38 # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
39 39 # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
40 40 # config.i18n.default_locale = :de
  41 + config.i18n.enforce_available_locales = false
41 42  
42 43 # Configure the default encoding used in templates for Ruby 1.9.
43 44 config.encoding = "utf-8"
... ...