method

gen_relative_url

gen_relative_url(path, target)
public

Converts a target url to one that is relative to a given path