Permalink
Browse files

use "mime_type" instead of "format"

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3874 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 6784749 commit 4ba5aa257b832dacfb2f711c0348237266f1c65b @jamis jamis committed Mar 15, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/cgi_ext/cgi_methods.rb
@@ -74,7 +74,7 @@ def self.parse_formatted_request_parameters(mime_type, raw_post_data)
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

0 comments on commit 4ba5aa2

Please sign in to comment.