]> git.openstreetmap.org Git - rails.git/blobdiff - config/environments/test.rb
Move the i18n loading to an initializer
[rails.git] / config / environments / test.rb
index 085381780fab7e094fc71eb3f8e8f4bfc1c3fdd2..007f2a3b4f539be8216ded62748d18fbc05f96d4 100644 (file)
@@ -55,7 +55,7 @@ Rails.application.configure do
   config.middleware.use I18n::JS::Middleware
 
   # Raises error for missing translations.
-  config.action_view.raise_on_missing_translations = true
+  config.i18n.raise_on_missing_translations = true
 
   # Annotate rendered view with file names.
   # config.action_view.annotate_rendered_view_with_filenames = true