            (transient {})
            (.getKeys qdata))))
 
-(defn- resolve-url
-  ([router id] (resolve-url router id {} {}))
-  ([router id params] (resolve-url router id params {}))
+(defn resolve
+  ([router id] (resolve router id {} {}))
+  ([router id params] (resolve router id params {}))
   ([router id params qparams]
    (when-let [match (r/match-by-name router id params)]
      (if (empty? qparams)

;; Copyright (c) 2015-2019 Andrey Antukh <niwi@niwi.nz>

(ns uxbox.util.router
  (:require
   [reitit.core :as r]
   [cuerdas.core :as str]

  (:import
   goog.Uri
   goog.Uri.QueryData))

;; --- API

