]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/errors_controller.rb
Merge remote-tracking branch 'upstream/pull/4088'
[rails.git] / app / controllers / errors_controller.rb
index caadd51213ed9cd1af4bd0224f87967a32fc2e31..ee1fcca6f8892ea346c1cacd3161eebc9c56983c 100644 (file)
@@ -3,6 +3,8 @@ class ErrorsController < ApplicationController
 
   skip_authorization_check
 
+  before_action :set_locale
+
   def forbidden
     respond_to do |format|
       format.html { render :status => :forbidden }