def find_template(url, options = {})
      options = {
        prefer: "html"
      }.update(options)

      orig_path, _qs, _anch = strip_query_string_and_anchor(url.to_s)

      output = nil

      load_paths.find do |load_path|
        path = File.join(load_path, orig_path)
        output = find_template_path(path, options)
      end

      output
    end
def find_template(url, options = {})
      options = {
        prefer: "html"
      }.update(options)

      orig_path, _qs, _anch = strip_query_string_and_anchor(url.to_s)

      output = nil

      load_paths.find do |load_path|
        path = File.join(load_path, orig_path)
        output = find_template_path(path, options)
      end

      output
    end
@param [String] url The url to resolve to a path
 @param [Hash] options Options

 @option options [String] :prefer The preferred template extension. When searching for
  templates, the preferred template extension defines what file type we're requesting
  when we ask for a file without an extension