aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/middlewares.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-01-13 16:09:51 -0600
committerJoshua Peek <josh@joshpeek.com>2009-01-13 16:09:51 -0600
commit1adc1496f9152c893e1f08abcb1e5e7272829899 (patch)
tree85affcfeea0fd298b474e90e7e9870fcd2e60f77 /actionpack/lib/action_controller/middlewares.rb
parent5a43908c7414996354ca427354d98d789e0210e7 (diff)
downloadrails-1adc1496f9152c893e1f08abcb1e5e7272829899.tar.gz
rails-1adc1496f9152c893e1f08abcb1e5e7272829899.tar.bz2
rails-1adc1496f9152c893e1f08abcb1e5e7272829899.zip
Add RewindableInput wrapper to fix issues with middleware that impolitely eat up non-rewindable input
Diffstat (limited to 'actionpack/lib/action_controller/middlewares.rb')
-rw-r--r--actionpack/lib/action_controller/middlewares.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/middlewares.rb b/actionpack/lib/action_controller/middlewares.rb
index 793739723f..914750bc0c 100644
--- a/actionpack/lib/action_controller/middlewares.rb
+++ b/actionpack/lib/action_controller/middlewares.rb
@@ -18,4 +18,5 @@ use "ActiveRecord::QueryCache", :if => lambda { defined?(ActiveRecord) }
)
end
+use ActionController::RewindableInput
use ActionController::VerbPiggybacking