]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/errors_controller.rb
Use i18n at_least_pattern in issues count helper
[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 }