summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-07-14 07:35:27 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-07-14 07:35:27 +0000
commit5e93459128094afe5f07eb66deeae0638c02401f (patch)
treef8e57e0823db79f7b0a60fb319d6692d080b0710 /lib
parent106f6dcacefc5b39b04258f8e4cd1cbdd8339fac (diff)
downloadredmine-5e93459128094afe5f07eb66deeae0638c02401f.tar.gz
redmine-5e93459128094afe5f07eb66deeae0638c02401f.zip
Use .around_action instead of .around_filter.
git-svn-id: http://svn.redmine.org/redmine/trunk@15658 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/sudo_mode.rb2
1 files changed, 1 insertions, 1 deletions
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