aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/middleware
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-12-22 16:08:03 -0600
committerJoshua Peek <josh@joshpeek.com>2009-12-22 16:08:03 -0600
commita1bf2f96ce6f086de8519e344ee7e396ae3da9bb (patch)
tree3c3a300bb56ec47dca0bc2b2d0379b33e295524e /actionpack/lib/action_dispatch/middleware
parent17b6053083767e5747c0f522b83a69e268d9d69e (diff)
downloadrails-a1bf2f96ce6f086de8519e344ee7e396ae3da9bb.tar.gz
rails-a1bf2f96ce6f086de8519e344ee7e396ae3da9bb.tar.bz2
rails-a1bf2f96ce6f086de8519e344ee7e396ae3da9bb.zip
AD::StatusCodes support is now part of rack
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware')
-rw-r--r--actionpack/lib/action_dispatch/middleware/show_exceptions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/show_exceptions.rb b/actionpack/lib/action_dispatch/middleware/show_exceptions.rb
index bd87764f5b..5c7f78b0e4 100644
--- a/actionpack/lib/action_dispatch/middleware/show_exceptions.rb
+++ b/actionpack/lib/action_dispatch/middleware/show_exceptions.rb
@@ -101,7 +101,7 @@ module ActionDispatch
end
def status_code(exception)
- ActionDispatch::StatusCodes::SYMBOL_TO_STATUS_CODE[@@rescue_responses[exception.class.name]]
+ Rack::Utils.status_code(@@rescue_responses[exception.class.name])
end
def render(status, body)