public Method

AbstractRequest.url

Returns the complete URL used for this request

Source Code

# File action_controller/request.rb, line 159
def url
  protocol + host_with_port + request_uri
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.