diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-12-22 16:08:03 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-12-22 16:08:03 -0600 |
commit | a1bf2f96ce6f086de8519e344ee7e396ae3da9bb (patch) | |
tree | 3c3a300bb56ec47dca0bc2b2d0379b33e295524e /actionpack/lib/action_controller/base.rb | |
parent | 17b6053083767e5747c0f522b83a69e268d9d69e (diff) | |
download | rails-a1bf2f96ce6f086de8519e344ee7e396ae3da9bb.tar.gz rails-a1bf2f96ce6f086de8519e344ee7e396ae3da9bb.tar.bz2 rails-a1bf2f96ce6f086de8519e344ee7e396ae3da9bb.zip |
AD::StatusCodes support is now part of rack
Diffstat (limited to 'actionpack/lib/action_controller/base.rb')
-rw-r--r-- | actionpack/lib/action_controller/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb index f75b6ed641..dbba69f637 100644 --- a/actionpack/lib/action_controller/base.rb +++ b/actionpack/lib/action_controller/base.rb @@ -90,7 +90,7 @@ module ActionController end if options[:status] - options[:status] = ActionDispatch::StatusCodes[options[:status]] + options[:status] = Rack::Utils.status_code(options[:status]) end options[:update] = blk if block_given? |