diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2008-12-22 22:03:14 +0000 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2008-12-23 00:30:32 +0000 |
commit | 900aad677f5bf06dc3a3ad42e68b582550f3b08a (patch) | |
tree | e49184940cabdff1752653536cfb0f8c6b61129d /actionpack | |
parent | faf8364050c0a3925a8b2af85b6b5c9e94090986 (diff) | |
download | rails-900aad677f5bf06dc3a3ad42e68b582550f3b08a.tar.gz rails-900aad677f5bf06dc3a3ad42e68b582550f3b08a.tar.bz2 rails-900aad677f5bf06dc3a3ad42e68b582550f3b08a.zip |
Remove deprecated relative_url_root
Diffstat (limited to 'actionpack')
-rwxr-xr-x | actionpack/lib/action_controller/request.rb | 7 |
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 } |