From 4ba5aa257b832dacfb2f711c0348237266f1c65b Mon Sep 17 00:00:00 2001 From: Jamis Buck Date: Wed, 15 Mar 2006 18:04:24 +0000 Subject: use "mime_type" instead of "format" git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3874 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_controller/cgi_ext/cgi_methods.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib/action_controller/cgi_ext') 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 -- cgit v1.2.3