diff options
author | Chris Cherry <ctcherry@gmail.com> | 2008-10-05 17:11:18 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-10-05 17:25:57 -0500 |
commit | 1c75b4fd42c707ce3d539e8453784b4abf74e035 (patch) | |
tree | 6364d265319a84f1d60b7424177d24a912e0c9b6 | |
parent | a2932784bb71e72a78c32819ebd7ed2bed551e3e (diff) | |
download | rails-1c75b4fd42c707ce3d539e8453784b4abf74e035.tar.gz rails-1c75b4fd42c707ce3d539e8453784b4abf74e035.tar.bz2 rails-1c75b4fd42c707ce3d539e8453784b4abf74e035.zip |
Fix deprecated ActionController::Base.relative_url_root call in mongrel command
Signed-off-by: Joshua Peek <josh@joshpeek.com>
-rw-r--r-- | railties/lib/rails/mongrel_server/commands.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/mongrel_server/commands.rb b/railties/lib/rails/mongrel_server/commands.rb index 0a92f418ad..d29b18712f 100644 --- a/railties/lib/rails/mongrel_server/commands.rb +++ b/railties/lib/rails/mongrel_server/commands.rb @@ -44,7 +44,7 @@ module Rails env_location = "#{defaults[:cwd]}/config/environment" require env_location - ActionController::AbstractRequest.relative_url_root = defaults[:prefix] + ActionController::Base.relative_url_root = defaults[:prefix] uri prefix, :handler => Rails::MongrelServer::RailsHandler.new end end |