From 3ccf7cf7ff568ec4af7895bc553e8ff7313d29f0 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Wed, 31 Aug 2016 17:01:47 +0000 Subject: [PATCH] Set user's localization before redirecting (#23346). Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@15775 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/application_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index ba79b949f..350896185 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -51,7 +51,7 @@ class ApplicationController < ActionController::Base end end - before_action :session_expiration, :user_setup, :check_if_login_required, :check_password_change, :set_localization + before_action :session_expiration, :user_setup, :check_if_login_required, :set_localization, :check_password_change rescue_from ::Unauthorized, :with => :deny_access rescue_from ::ActionView::MissingTemplate, :with => :missing_template -- 2.39.5