Permalink
Browse files

Use response_body rather than performed?

  • Loading branch information...
1 parent 964bc4e commit e28e0611652e4d2c4fc2e8afdf866264c1583154 @wycats wycats committed Aug 9, 2009
Showing with 2 additions and 2 deletions.
  1. +1 −1 actionpack/lib/action_controller/base.rb
  2. +1 −1 actionpack/test/template/body_parts_test.rb
@@ -41,7 +41,7 @@ class Base < Metal
module ImplicitRender
def send_action(*)
ret = super
- default_render unless performed?
+ default_render unless response_body
ret
end
@@ -4,7 +4,7 @@ class BodyPartsTest < ActionController::TestCase
RENDERINGS = [Object.new, Object.new, Object.new]
class TestController < ActionController::Base
- def performed?() true end
+ def response_body() "" end
def index
RENDERINGS.each do |rendering|

0 comments on commit e28e061

Please sign in to comment.