From 5e93459128094afe5f07eb66deeae0638c02401f 2016-07-14 07:35:27 From: Jean-Philippe Lang Date: 2016-07-14 07:35:27 Subject: [PATCH] Use .around_action instead of .around_filter. git-svn-id: http://svn.redmine.org/redmine/trunk@15658 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/lib/redmine/sudo_mode.rb b/lib/redmine/sudo_mode.rb index 6d3ac68..d4f2660 100644 --- a/lib/redmine/sudo_mode.rb +++ b/lib/redmine/sudo_mode.rb @@ -46,7 +46,7 @@ module Redmine extend ActiveSupport::Concern included do - around_filter :sudo_mode + around_action :sudo_mode end # Sudo mode Around Filter