diff options
author | Yehuda Katz <wycats@yehuda-katzs-macbookpro41.local> | 2009-06-02 19:00:59 -0700 |
---|---|---|
committer | Yehuda Katz <wycats@yehuda-katzs-macbookpro41.local> | 2009-06-02 19:00:59 -0700 |
commit | 971e2438d98326c994ec6d3ef8e37b7e868ed6e2 (patch) | |
tree | 3a746ec6e845b7956775055a1a2453bd46eb6eb4 /actionpack/test/abstract_controller | |
parent | 196f780e30fcece25e4d09c12f9b9f7374ebed29 (diff) | |
download | rails-971e2438d98326c994ec6d3ef8e37b7e868ed6e2.tar.gz rails-971e2438d98326c994ec6d3ef8e37b7e868ed6e2.tar.bz2 rails-971e2438d98326c994ec6d3ef8e37b7e868ed6e2.zip |
Simplify callbacks to use less metaprogramming
Diffstat (limited to 'actionpack/test/abstract_controller')
-rw-r--r-- | actionpack/test/abstract_controller/callbacks_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/abstract_controller/callbacks_test.rb b/actionpack/test/abstract_controller/callbacks_test.rb index 1de60868c3..826e76892e 100644 --- a/actionpack/test/abstract_controller/callbacks_test.rb +++ b/actionpack/test/abstract_controller/callbacks_test.rb @@ -8,7 +8,7 @@ module AbstractController end class Callback1 < ControllerWithCallbacks - process_action_callback :before, :first + _set_callback :process_action, :before, :first def first @text = "Hello world" |