]> source.dussan.org Git - redmine.git/commitdiff
Use .around_action instead of .around_filter.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 14 Jul 2016 07:35:27 +0000 (07:35 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 14 Jul 2016 07:35:27 +0000 (07:35 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@15658 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/sudo_mode.rb

index 6d3ac6878bba9aba05601d3de48ed8c6a13640e4..d4f26608a42da8fb4802170e9bb373b36ac1d5f6 100644 (file)
@@ -46,7 +46,7 @@ module Redmine
       extend ActiveSupport::Concern
 
       included do
-        around_filter :sudo_mode
+        around_action :sudo_mode
       end
 
       # Sudo mode Around Filter