# File lib/gh/nested_resources.rb, line 20 def nested(link, path) new_link = link.dup if path.start_with? '/' new_link.path = path else new_link.path += path end new_link end