aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xactionpack/lib/action_controller/request.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/request.rb b/actionpack/lib/action_controller/request.rb
index fa9b02919f..cc469e2e74 100755
--- a/actionpack/lib/action_controller/request.rb
+++ b/actionpack/lib/action_controller/request.rb
@@ -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.