diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-10-12 22:15:43 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-10-12 22:15:43 -0500 |
commit | 21e7b8462113fc7c0fd1882dcc2bf7225de67b1a (patch) | |
tree | 81350780f50b8378aec99210d956bba3dda635f7 /actionpack/lib/abstract_controller | |
parent | 9bc8defe38253840ceb9c4ad92e7c3abc0066ed8 (diff) | |
download | rails-21e7b8462113fc7c0fd1882dcc2bf7225de67b1a.tar.gz rails-21e7b8462113fc7c0fd1882dcc2bf7225de67b1a.tar.bz2 rails-21e7b8462113fc7c0fd1882dcc2bf7225de67b1a.zip |
Callbacks, DeprecatedCallbacks = NewCallbacks, Callbacks
Diffstat (limited to 'actionpack/lib/abstract_controller')
-rw-r--r-- | actionpack/lib/abstract_controller/callbacks.rb | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/actionpack/lib/abstract_controller/callbacks.rb b/actionpack/lib/abstract_controller/callbacks.rb index 7f12561da5..ee496dadc5 100644 --- a/actionpack/lib/abstract_controller/callbacks.rb +++ b/actionpack/lib/abstract_controller/callbacks.rb @@ -1,13 +1,11 @@ -require "active_support/new_callbacks" - module AbstractController module Callbacks extend ActiveSupport::Concern - # Uses ActiveSupport::NewCallbacks as the base functionality. For + # Uses ActiveSupport::Callbacks as the base functionality. For # more details on the whole callback system, read the documentation - # for ActiveSupport::NewCallbacks. - include ActiveSupport::NewCallbacks + # for ActiveSupport::Callbacks. + include ActiveSupport::Callbacks included do define_callbacks :process_action, :terminator => "response_body" |