class ActionDispatch::Routing::RouteSet::CustomUrlHelper
def call(t, args, only_path = false)
def call(t, args, only_path = false) options = args.extract_options! url = t.full_url_for(eval_block(t, args, options)) if only_path "/" + url.partition(%r{(?<!/)/(?!/)}).last else url end end