diff options
author | Jamis Buck <jamis@37signals.com> | 2006-03-15 18:04:24 +0000 |
---|---|---|
committer | Jamis Buck <jamis@37signals.com> | 2006-03-15 18:04:24 +0000 |
commit | 4ba5aa257b832dacfb2f711c0348237266f1c65b (patch) | |
tree | 02240c03faeda8a3be149373da43fb511d958ddb /actionpack/lib/action_controller/cgi_ext | |
parent | 6784749f3bd9bc4939a4d6b2e0dd831a3125f0dd (diff) | |
download | rails-4ba5aa257b832dacfb2f711c0348237266f1c65b.tar.gz rails-4ba5aa257b832dacfb2f711c0348237266f1c65b.tar.bz2 rails-4ba5aa257b832dacfb2f711c0348237266f1c65b.zip |
use "mime_type" instead of "format"
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3874 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller/cgi_ext')
-rwxr-xr-x | actionpack/lib/action_controller/cgi_ext/cgi_methods.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/cgi_ext/cgi_methods.rb b/actionpack/lib/action_controller/cgi_ext/cgi_methods.rb index c8a00ac3aa..f092a41d47 100755 --- a/actionpack/lib/action_controller/cgi_ext/cgi_methods.rb +++ b/actionpack/lib/action_controller/cgi_ext/cgi_methods.rb @@ -74,7 +74,7 @@ class CGIMethods #:nodoc: params || {} rescue Object => e { "exception" => "#{e.message} (#{e.class})", "backtrace" => e.backtrace, - "raw_post_data" => raw_post_data, "format" => format } + "raw_post_data" => raw_post_data, "format" => mime_type } end private |