Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

_conditional_callback_around methods should not be included in action…

…_methods
  • Loading branch information...
commit f91278940e96d8129d9319b2cad5d5b3854b32e5 1 parent 960882f
@willbryant authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/abstract_controller/base.rb
View
2  actionpack/lib/abstract_controller/base.rb
@@ -72,7 +72,7 @@ def action_methods
hidden_actions.to_a
# 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
Please sign in to comment.
Something went wrong with that request. Please try again.