1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix deprecated ActionController::Base.relative_url_root call in mongrel command

Signed-off-by: Joshua Peek <josh@joshpeek.com>
This commit is contained in:
Chris Cherry 2008-10-05 17:11:18 -05:00 committed by Joshua Peek
parent a2932784bb
commit 1c75b4fd42

View file

@ -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