diff options
author | Nick Sutterer <apotonick@gmail.com> | 2010-12-29 23:56:58 +0100 |
---|---|---|
committer | wycats <wycats@gmail.com> | 2010-12-29 16:37:10 -0800 |
commit | db24701abed4858d9b326bbaaf5c08726e4ced75 (patch) | |
tree | 3c27b928cedb818a28c0fa8da376493002d42917 /actionpack/lib | |
parent | 69765aad8bcc853e7ab6b0e79f4edece2cdd7fe2 (diff) | |
download | rails-db24701abed4858d9b326bbaaf5c08726e4ced75.tar.gz rails-db24701abed4858d9b326bbaaf5c08726e4ced75.tar.bz2 rails-db24701abed4858d9b326bbaaf5c08726e4ced75.zip |
process_action accepts multiple args, even with Callbacks.
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/abstract_controller/callbacks.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/abstract_controller/callbacks.rb b/actionpack/lib/abstract_controller/callbacks.rb index f169ab7c3a..95992c2698 100644 --- a/actionpack/lib/abstract_controller/callbacks.rb +++ b/actionpack/lib/abstract_controller/callbacks.rb @@ -13,7 +13,7 @@ module AbstractController # Override AbstractController::Base's process_action to run the # process_action callbacks around the normal behavior. - def process_action(method_name) + def process_action(method_name, *args) run_callbacks(:process_action, method_name) do super end |