Skip to content
Browse files

_conditional_callback_around methods should not be included in action…

…_methods
  • Loading branch information...
1 parent 87bbf48 commit 64b86eee3c3e7f4dc36000b6a5fa23937b19c7ca @willbryant committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/abstract_controller/base.rb
View
2 actionpack/lib/abstract_controller/base.rb
@@ -70,7 +70,7 @@ def action_methods
hidden_actions
# Clear out AS callback method pollution
- methods.reject { |method| method =~ /_one_time_conditions/ }
+ methods.reject { |method| method =~ /_one_time_conditions/ || method =~ /_conditional_callback_around/ }
end
end

0 comments on commit 64b86ee

Please sign in to comment.
Something went wrong with that request. Please try again.