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:
parent
a2932784bb
commit
1c75b4fd42
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ module Rails
|
||||||
env_location = "#{defaults[:cwd]}/config/environment"
|
env_location = "#{defaults[:cwd]}/config/environment"
|
||||||
require env_location
|
require env_location
|
||||||
|
|
||||||
ActionController::AbstractRequest.relative_url_root = defaults[:prefix]
|
ActionController::Base.relative_url_root = defaults[:prefix]
|
||||||
uri prefix, :handler => Rails::MongrelServer::RailsHandler.new
|
uri prefix, :handler => Rails::MongrelServer::RailsHandler.new
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue