aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/http/url.rb
diff options
context:
space:
mode:
authorJoost Baaij <joost@spacebabies.nl>2010-08-27 22:47:11 +0200
committerJoost Baaij <joost@spacebabies.nl>2010-08-27 22:47:11 +0200
commit4a56f8f3145e396c9932be83d563fd75219c1f4d (patch)
tree0414715a90991de76b5ddd45a01c507bc859e736 /actionpack/lib/action_dispatch/http/url.rb
parent76c569344be9afbc9a6cf5471c2996ecdbd100f6 (diff)
downloadrails-4a56f8f3145e396c9932be83d563fd75219c1f4d.tar.gz
rails-4a56f8f3145e396c9932be83d563fd75219c1f4d.tar.bz2
rails-4a56f8f3145e396c9932be83d563fd75219c1f4d.zip
escape constants that should not be linked to
Diffstat (limited to 'actionpack/lib/action_dispatch/http/url.rb')
-rw-r--r--actionpack/lib/action_dispatch/http/url.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/http/url.rb b/actionpack/lib/action_dispatch/http/url.rb
index ffb7bdd586..f6375902f6 100644
--- a/actionpack/lib/action_dispatch/http/url.rb
+++ b/actionpack/lib/action_dispatch/http/url.rb
@@ -1,7 +1,7 @@
module ActionDispatch
module Http
module URL
- # Returns the complete URL used for this request.
+ # Returns the complete \URL used for this request.
def url
protocol + host_with_port + fullpath
end
@@ -96,7 +96,7 @@ module ActionDispatch
end
# Returns the request URI, accounting for server idiosyncrasies.
- # WEBrick includes the full URL. IIS leaves REQUEST_URI blank.
+ # WEBrick includes the full \URL. IIS leaves REQUEST_URI blank.
def request_uri
ActiveSupport::Deprecation.warn "Using #request_uri is deprecated. Use fullpath instead.", caller
fullpath