mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04: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:
committed by
Joshua Peek
parent
a2932784bb
commit
1c75b4fd42
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user