aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2008-12-22 22:03:14 +0000
committerPratik Naik <pratiknaik@gmail.com>2008-12-23 00:30:32 +0000
commit900aad677f5bf06dc3a3ad42e68b582550f3b08a (patch)
treee49184940cabdff1752653536cfb0f8c6b61129d /actionpack
parentfaf8364050c0a3925a8b2af85b6b5c9e94090986 (diff)
downloadrails-900aad677f5bf06dc3a3ad42e68b582550f3b08a.tar.gz
rails-900aad677f5bf06dc3a3ad42e68b582550f3b08a.tar.bz2
rails-900aad677f5bf06dc3a3ad42e68b582550f3b08a.zip
Remove deprecated relative_url_root
Diffstat (limited to 'actionpack')
-rwxr-xr-xactionpack/lib/action_controller/request.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/actionpack/lib/action_controller/request.rb b/actionpack/lib/action_controller/request.rb
index 087fffe87d..cc079792bb 100755
--- a/actionpack/lib/action_controller/request.rb
+++ b/actionpack/lib/action_controller/request.rb
@@ -9,13 +9,6 @@ module ActionController
class AbstractRequest
extend ActiveSupport::Memoizable
- def self.relative_url_root=(relative_url_root)
- ActiveSupport::Deprecation.warn(
- "ActionController::AbstractRequest.relative_url_root= has been renamed." +
- "You can now set it with config.action_controller.relative_url_root=", caller)
- ActionController::Base.relative_url_root=relative_url_root
- end
-
HTTP_METHODS = %w(get head put post delete options)
HTTP_METHOD_LOOKUP = HTTP_METHODS.inject({}) { |h, m| h[m] = h[m.upcase] = m.to_sym; h }