diff --git a/config/environments/development.rb b/config/environments/development.rb index a49ea5a8..a67669de 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -66,7 +66,7 @@ Rails.application.configure do config.assets.quiet = true # 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 diff --git a/config/environments/staging.rb b/config/environments/staging.rb index 2ad25a24..73832c26 100644 --- a/config/environments/staging.rb +++ b/config/environments/staging.rb @@ -32,7 +32,7 @@ Rails.application.configure do config.assets.raise_runtime_errors = true # Raise errors for missing translations. - config.action_view.raise_on_missing_translations = true + config.i18n.raise_on_missing_translations = true # Enable Rack::Cache to put a simple HTTP cache in front of your application # Add `rack-cache` to your Gemfile before enabling this.