diff options
author | José Valim <jose.valim@gmail.com> | 2011-05-01 12:56:04 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-05-01 13:40:13 +0200 |
commit | b73576138529b1344a38f4e4b16c642f3510d514 (patch) | |
tree | af20defc605263df77a2bd22f50103a4c6eacf15 /actionpack/lib/action_controller/metal | |
parent | 367bdc53611fe1da9cedda3220a83d3f39409cff (diff) | |
download | rails-b73576138529b1344a38f4e4b16c642f3510d514.tar.gz rails-b73576138529b1344a38f4e4b16c642f3510d514.tar.bz2 rails-b73576138529b1344a38f4e4b16c642f3510d514.zip |
Introduce view renderer.
Diffstat (limited to 'actionpack/lib/action_controller/metal')
-rw-r--r-- | actionpack/lib/action_controller/metal/streaming.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/streaming.rb b/actionpack/lib/action_controller/metal/streaming.rb index b9bd49f670..5b8111f30d 100644 --- a/actionpack/lib/action_controller/metal/streaming.rb +++ b/actionpack/lib/action_controller/metal/streaming.rb @@ -51,7 +51,7 @@ module ActionController #:nodoc: # Call render_to_body if we are streaming instead of usual +render+. def _render_template(options) #:nodoc: if options.delete(:stream) - Rack::Chunked::Body.new view_context.render_body(options) + Rack::Chunked::Body.new view_renderer.render_body(view_context, options) else super end |