mirror of
https://github.com/github/rails.git
synced 2026-01-31 01:08:19 -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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user