aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/new_base/renderer.rb
diff options
context:
space:
mode:
authorYehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>2009-05-19 18:05:16 -0700
committerYehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>2009-05-19 18:11:45 -0700
commit67cc021d019515c94d4bcc4c3c7060c9a2594c87 (patch)
tree85592ebb6480ee6772e6d9b1d9b31b15ec3ca4b2 /actionpack/lib/action_controller/new_base/renderer.rb
parent0e7da0e4a06f78ab39b0e90daadfc223b8f1738a (diff)
downloadrails-67cc021d019515c94d4bcc4c3c7060c9a2594c87.tar.gz
rails-67cc021d019515c94d4bcc4c3c7060c9a2594c87.tar.bz2
rails-67cc021d019515c94d4bcc4c3c7060c9a2594c87.zip
Modified caching implementation to work with NewBase
Diffstat (limited to 'actionpack/lib/action_controller/new_base/renderer.rb')
-rw-r--r--actionpack/lib/action_controller/new_base/renderer.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/new_base/renderer.rb b/actionpack/lib/action_controller/new_base/renderer.rb
index 8a9f230603..9253df53a1 100644
--- a/actionpack/lib/action_controller/new_base/renderer.rb
+++ b/actionpack/lib/action_controller/new_base/renderer.rb
@@ -9,6 +9,11 @@ module ActionController
super
end
+ def response_body=(body)
+ response.body = body if response
+ super
+ end
+
def render_to_body(options)
_process_options(options)