1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Sans request please

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6317 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson 2007-03-04 20:44:01 +00:00
parent e0179c1254
commit 8a1956bd99

View file

@ -129,7 +129,7 @@ module ActionController
# Returns the complete URL used for this request
def url
request.protocol + request.host_with_port + request.request_uri
protocol + host_with_port + request_uri
end
# Return 'https://' if this is an SSL request and 'http://' otherwise.