Commit c466f4cc44a61c1fbb827113e232c65f3c0ac9ec

Authored by Jeroen van Baarsen
1 parent cb589d23

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"
... ...