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:
parent
e0179c1254
commit
8a1956bd99
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue