Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 1c75b4fd42c707ce3d539e8453784b4abf74e035 1 parent a293278
@ctcherry ctcherry authored josh committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/lib/rails/mongrel_server/commands.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.