From ef7f6a48b92680aeeea9ddbf1f4210e1d87d52e7 Mon Sep 17 00:00:00 2001 From: Carlo Zancanaro Date: Mon, 2 Sep 2013 00:37:14 +1000 Subject: Fix a stupid mistake - left in some code by accident --- src/reverse_routing/core.clj | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src') 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))))) - - -- cgit v1.2.3