Flowdock
method

rewrite_relative_url_root

Importance_0
v3.2.1 - Show latest stable - 0 notes - Class: AssetPaths
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 53
    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.