def get_matches(path)
      matches = []

      @routes.each_with_index do |route, i|
        score, pars = score_route(route[:parts], path)
        matches << [i, score, pars] if score > 0
      end

      matches
    end
def get_matches(path)
      matches = []

      @routes.each_with_index do |route, i|
        score, pars = score_route(route[:parts], path)
        matches << [i, score, pars] if score > 0
      end

      matches
    end
Internal method to match a path to possible routes

 @param [String] path Url to match