instance method relative_url_root

Ruby on Rails 2.2.3

Since v2.2.3 Last seen in v2.2.3

Signature

relative_url_root()

Returns the value of ActionController::Base.relative_url_root. This method is deprecated as the value is an application wide setting, not something which changes per request.

Source
# File actionpack/lib/action_controller/request.rb, line 312
    def relative_url_root
      ActiveSupport::Deprecation.warn(
        "relative_url_root is now set application-wide, use ActionController::Base.relative_url_root instead.", caller)
      ActionController::Base.relative_url_root
    end

Defined in actionpack/lib/action_controller/request.rb line 312 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionController::AbstractRequest

Type at least 2 characters to search.

↑↓ navigate · open · esc close