Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add Rack::Chunked to middleware stack.

  • Loading branch information...
commit 6e00dbb795b9aeec6a446d5b833280aafd1edd92 1 parent 6c14944
George Ogata authored
Showing with 5 additions and 0 deletions.
  1. +4 −0 CHANGELOG
  2. +1 −0  lib/template_streaming.rb
4 CHANGELOG
View
@@ -1,3 +1,7 @@
+== LATEST
+
+ * Automatically add Rack::Chunked to middleware stack.
+
== 0.0.4 2010-04-26
* Add when_streaming_template callback. Called after an action that
1  lib/template_streaming.rb
View
@@ -251,4 +251,5 @@ def padding
ActionView::Base.send :include, View
ActionController::Base.send :include, Controller
ActionController::Response.send :include, Response
+ ActionController::Dispatcher.middleware.use Rack::Chunked
end
Please sign in to comment.
Something went wrong with that request. Please try again.