public Method

AbstractRequest.head?

Is this a HEAD request? request.method sees HEAD as :get, so check the HTTP method directly.

Source Code

# File action_controller/request.rb, line 60
def head?
  request_method == :head
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.