method

gen_url

gen_url(path, target)
public

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