Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

_conditional_callback_around methods should not be included in action…

…_methods
  • Loading branch information...
commit b9cf4b04ef2eb50247b7bf74beea60598ebe5dcd 1 parent 1b4e6ca
Will Bryant authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  actionpack/lib/abstract_controller/base.rb
2  actionpack/lib/abstract_controller/base.rb
@@ -72,7 +72,7 @@ def action_methods
72 72 hidden_actions.to_a
73 73
74 74 # Clear out AS callback method pollution
75   - methods.reject { |method| method =~ /_one_time_conditions/ }
  75 + methods.reject { |method| method =~ /_one_time_conditions/ || method =~ /_conditional_callback_around/ }
76 76 end
77 77 end
78 78

0 comments on commit b9cf4b0

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