aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/abstract/callbacks.rb
diff options
context:
space:
mode:
authorYehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>2009-05-12 10:53:00 -0700
committerYehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>2009-05-12 10:53:00 -0700
commit72ca7c591c9eace150c0ebab1633d691a1ef12cf (patch)
tree5df30ffd42a00ef6ab38824bdee6e335e0b6d140 /actionpack/lib/action_controller/abstract/callbacks.rb
parent22c5667c2ef46d6723c1805d3adc52dc8e92429b (diff)
downloadrails-72ca7c591c9eace150c0ebab1633d691a1ef12cf.tar.gz
rails-72ca7c591c9eace150c0ebab1633d691a1ef12cf.tar.bz2
rails-72ca7c591c9eace150c0ebab1633d691a1ef12cf.zip
Fixed new callbacks to not call the action when a callback sets the response body
Diffstat (limited to 'actionpack/lib/action_controller/abstract/callbacks.rb')
-rw-r--r--actionpack/lib/action_controller/abstract/callbacks.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/abstract/callbacks.rb b/actionpack/lib/action_controller/abstract/callbacks.rb
index 6e15b3e81b..3aff83a209 100644
--- a/actionpack/lib/action_controller/abstract/callbacks.rb
+++ b/actionpack/lib/action_controller/abstract/callbacks.rb
@@ -5,7 +5,7 @@ module AbstractController
depends_on ActiveSupport::NewCallbacks
included do
- define_callbacks :process_action
+ define_callbacks :process_action, "response_body"
end
def process_action