Flowdock
method

rewrite_relative_url_root

Importance_0
Ruby on Rails latest stable (v4.1.8) - 0 notes - Class: AssetPaths

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

rewrite_relative_url_root(source, relative_url_root) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_view/asset_paths.rb, line 59
    def rewrite_relative_url_root(source, relative_url_root)
      relative_url_root && !source.starts_with?("#{relative_url_root}/") ? "#{relative_url_root}#{source}" : source
    end
Register or log in to add new notes.