diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-08-31 17:01:47 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-08-31 17:01:47 +0000 |
commit | 3ccf7cf7ff568ec4af7895bc553e8ff7313d29f0 (patch) | |
tree | 378f23d554d95a9f829e57cb9bc6c87aeaccd776 /app/controllers | |
parent | 1faca3a1dd0f21cfbcd38fa522a313c14edd7b6c (diff) | |
download | redmine-3ccf7cf7ff568ec4af7895bc553e8ff7313d29f0.tar.gz redmine-3ccf7cf7ff568ec4af7895bc553e8ff7313d29f0.zip |
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
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/application_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |