Project

General

Profile

Defect #3892 » mongrel-rails_2.3.4_support.patch

Robert Chady, 2009-09-18 19:25

View differences:

config/initializers/10-patches.rb
78 78
end
79 79

  
80 80
ActionMailer::Base.send :include, AsynchronousMailer
81

  
82
# Support for Rails 2.3.4
83
module ActionController
84
  class AbstractRequest < ActionController::Request
85
    def self.relative_url_root=(path)
86
      ActionController::Base.relative_url_root=(path)
87
    end
88
    def self.relative_url_root
89
      ActionController::Base.relative_url_root
90
    end
91
  end
92
end
93

  
(1-1/2)