diff options
Diffstat (limited to 'src/reverse_routing/core.clj')
-rw-r--r-- | src/reverse_routing/core.clj | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/reverse_routing/core.clj b/src/reverse_routing/core.clj index 627fe5e..377d75e 100644 --- a/src/reverse_routing/core.clj +++ b/src/reverse_routing/core.clj @@ -66,13 +66,6 @@ (if (= signature# ~route-id) ~routes-map))))) -((-> (register-route :user - (GET "/user/" [] - 123)) - meta - ::lookup) - [:user 0]) - (defn url-for [route & arg-values] (let [{:keys [uri type args]} (*lookup-route* [route (count arg-values)]) root-path *root*] @@ -81,5 +74,3 @@ (reduce (fn [string [name val]] (clojure.string/replace string (str name) (str val))) uri (map vector args arg-values))))) - - |