aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/middleware/closed_error.rb
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2011-12-16 09:06:30 +0100
committerJosé Valim <jose.valim@gmail.com>2011-12-16 10:45:59 +0100
commitd1425725673b0172d6561adebaed017b51db9333 (patch)
tree363afa102073915a9cf854e8ebcf8ff2317eba5f /actionpack/lib/action_dispatch/middleware/closed_error.rb
parent8015f906d5f53087b54ceae5f4ec1254f5f1e00f (diff)
downloadrails-d1425725673b0172d6561adebaed017b51db9333.tar.gz
rails-d1425725673b0172d6561adebaed017b51db9333.tar.bz2
rails-d1425725673b0172d6561adebaed017b51db9333.zip
Get rid of the close checks since we cannot reliably close the session anyway.
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware/closed_error.rb')
-rw-r--r--actionpack/lib/action_dispatch/middleware/closed_error.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/closed_error.rb b/actionpack/lib/action_dispatch/middleware/closed_error.rb
deleted file mode 100644
index 0a4db47f4b..0000000000
--- a/actionpack/lib/action_dispatch/middleware/closed_error.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-module ActionDispatch
- class ClosedError < StandardError #:nodoc:
- def initialize(kind)
- super "Cannot modify #{kind} because it was closed. This means it was already streamed back to the client or converted to HTTP headers."
- end
- end
-end