aboutsummaryrefslogtreecommitdiffstats
path: root/config/environments/development.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/environments/development.rb')
-rw-r--r--config/environments/development.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb
index 1d2fee44f..446e72190 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -95,6 +95,7 @@ Rails.application.configure do
config.i18n.available_locales = [:fr, :en]
config.middleware.insert_after(ActionDispatch::Static, Rack::LiveReload) if ENV['LIVERELOAD']
+ config.middleware.use I18n::JS::Middleware
config.development_toolbar = false
if ENV['TOOLBAR'] && File.exists?("config/development_toolbar.rb")
config.development_toolbar = OpenStruct.new