From 1c75b4fd42c707ce3d539e8453784b4abf74e035 Mon Sep 17 00:00:00 2001 From: Chris Cherry Date: Sun, 5 Oct 2008 17:11:18 -0500 Subject: Fix deprecated ActionController::Base.relative_url_root call in mongrel command Signed-off-by: Joshua Peek --- railties/lib/rails/mongrel_server/commands.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties') 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 -- cgit v1.2.3