def url_for(options={})
      if templated?
        template = Addressable::Template.new(base_path)
        template = template.expand(options)
        template.to_s
      else
        base_path
      end
    end
def url_for(options={})
      if templated?
        template = Addressable::Template.new(base_path)
        template = template.expand(options)
        template.to_s
      else
        base_path
      end
    end
Returns the URL for the route. If it's templated,
 then we utilize the provided options hash to expand
 the route. Otherwise we return the `path`

 @return [String] The templated or base URI