From: Jean-Philippe Lang Date: Thu, 14 Jul 2016 07:35:27 +0000 (+0000) Subject: Use .around_action instead of .around_filter. X-Git-Tag: 3.4.0~805 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5e93459128094afe5f07eb66deeae0638c02401f;p=redmine.git 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 6d3ac6878..d4f26608a 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