Permalink
Browse files

Fix deprecated ActionController::Base.relative_url_root call in mongr…

…el command

Signed-off-by: Joshua Peek <josh@joshpeek.com>
  • Loading branch information...
1 parent a293278 commit 1c75b4fd42c707ce3d539e8453784b4abf74e035 @ctcherry ctcherry committed with josh Oct 5, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/mongrel_server/commands.rb
@@ -44,7 +44,7 @@ def mount_rails(prefix)
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

0 comments on commit 1c75b4f

Please sign in to comment.