Sha256: cada218c1287ee6ea191dd41910c773aa577a10b6b7333c3832fc4439b60d0d6

Contents?: true

Size: 360 Bytes

Versions: 5

Compression:

Stored size: 360 Bytes

Contents

module ActionController
  class AbstractRequest
    def relative_url_root_with_accept_http_rails_relative_url_root
      @env["RAILS_RELATIVE_URL_ROOT"] ||= @env["HTTP_RAILS_RELATIVE_URL_ROOT"]
      relative_url_root_without_accept_http_rails_relative_url_root
    end
    alias_method_chain :relative_url_root, :accept_http_rails_relative_url_root
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
activeldap-0.10.0 examples/al-admin/lib/accept_http_rails_relative_url_root.rb
activeldap-0.9.0 examples/al-admin/lib/accept_http_rails_relative_url_root.rb
activeldap-1.0.0 examples/al-admin/lib/accept_http_rails_relative_url_root.rb
activeldap-1.0.1 examples/al-admin/lib/accept_http_rails_relative_url_root.rb
ruby-activeldap-0.8.3.1 examples/al-admin/lib/accept_http_rails_relative_url_root.rb