Permalink
Browse files

Add Rack::Chunked to middleware stack.

  • Loading branch information...
1 parent 6c14944 commit 6e00dbb795b9aeec6a446d5b833280aafd1edd92 @oggy committed Apr 27, 2010
Showing with 5 additions and 0 deletions.
  1. +4 −0 CHANGELOG
  2. +1 −0 lib/template_streaming.rb
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
@@ -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

0 comments on commit 6e00dbb

Please sign in to comment.