summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarlo Zancanaro <carlo@clearboxsystems.com.au>2013-09-02 00:37:14 +1000
committerCarlo Zancanaro <carlo@clearboxsystems.com.au>2013-09-02 00:37:14 +1000
commitef7f6a48b92680aeeea9ddbf1f4210e1d87d52e7 (patch)
treea12bd0b7815348249cf8bd884227f67b81eb4876 /src
parentc27eaaeef4ec415e8e5645cd5e477643aec56d2c (diff)
Fix a stupid mistake - left in some code by accident
Diffstat (limited to 'src')
-rw-r--r--src/reverse_routing/core.clj9
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)))))
-
-