diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2004-12-07 11:32:42 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2004-12-07 11:32:42 +0000 |
commit | 63c4e789b50f502bedcfd0a9b6bf231ec97307f5 (patch) | |
tree | 1350ee21907a94ff940f94d8339e6f8cf2ef1828 /actionpack/lib/action_controller | |
parent | b4f4d038b9b240c2a388bbe3fbfb885170930f99 (diff) | |
download | rails-63c4e789b50f502bedcfd0a9b6bf231ec97307f5.tar.gz rails-63c4e789b50f502bedcfd0a9b6bf231ec97307f5.tar.bz2 rails-63c4e789b50f502bedcfd0a9b6bf231ec97307f5.zip |
Fixed a bug with the HEAD stuff
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@61 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r-- | actionpack/lib/action_controller/cgi_process.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/cgi_process.rb b/actionpack/lib/action_controller/cgi_process.rb index abc743246f..148cb81df0 100644 --- a/actionpack/lib/action_controller/cgi_process.rb +++ b/actionpack/lib/action_controller/cgi_process.rb @@ -108,7 +108,7 @@ module ActionController #:nodoc: $stdout.sync = false print @cgi.header(@headers) - if @cgi.head? + if @cgi.send(:env_table)['REQUEST_METHOD'] == 'HEAD' return elsif @body.respond_to?(:call) @body.call(self) |