--- a/config/initializers/10-patches.rb +++ b/config/initializers/10-patches.rb @@ -78,3 +78,16 @@ module AsynchronousMailer end ActionMailer::Base.send :include, AsynchronousMailer + +# Support for Rails 2.3.4 +module ActionController + class AbstractRequest < ActionController::Request + def self.relative_url_root=(path) + ActionController::Base.relative_url_root=(path) + end + def self.relative_url_root + ActionController::Base.relative_url_root + end + end +end +