webgui/config/initializers/pool.rb in tournament-3.0.0 vs webgui/config/initializers/pool.rb in tournament-3.0.1

- old
+ new

@@ -14,9 +14,12 @@ # appropriate web server configuration to have all urls # in the site done relative to the root url. RELATIVE_URL_ROOT = nil if RELATIVE_URL_ROOT + # Need to do this two ways in Rails 2.3.5? + config = Rails::Configuration.new + config.action_controller.relative_url_root = RELATIVE_URL_ROOT ActionController::Base.relative_url_root = RELATIVE_URL_ROOT end # Provide keys needed by ActionMailer.smtp_settings. See Rails # documentation for more help