diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2010-09-05 22:59:41 -0300 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-09-06 13:41:12 +0200 |
commit | 9532d746a998f790a5c0c61caff17beeb43f39f0 (patch) | |
tree | a23cb91829a387d42a624d45961462c9deceb5ca /actionpack/lib/action_dispatch/http | |
parent | 11fccc5f06bc67353b895eeeb65cfab94cb4cd25 (diff) | |
download | rails-9532d746a998f790a5c0c61caff17beeb43f39f0.tar.gz rails-9532d746a998f790a5c0c61caff17beeb43f39f0.tar.bz2 rails-9532d746a998f790a5c0c61caff17beeb43f39f0.zip |
Cleanup deprecations in Action Dispatch
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'actionpack/lib/action_dispatch/http')
-rw-r--r-- | actionpack/lib/action_dispatch/http/url.rb | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/actionpack/lib/action_dispatch/http/url.rb b/actionpack/lib/action_dispatch/http/url.rb index f6375902f6..38f46fa120 100644 --- a/actionpack/lib/action_dispatch/http/url.rb +++ b/actionpack/lib/action_dispatch/http/url.rb @@ -95,13 +95,6 @@ module ActionDispatch subdomains(tld_length).join('.') end - # Returns the request URI, accounting for server idiosyncrasies. - # 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 - end - private def named_host?(host) @@ -109,4 +102,4 @@ module ActionDispatch end end end -end
\ No newline at end of file +end |