summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/reverse_routing/core.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reverse_routing/core.clj b/src/reverse_routing/core.clj
index 2907fb4..4299eba 100644
--- a/src/reverse_routing/core.clj
+++ b/src/reverse_routing/core.clj
@@ -8,7 +8,7 @@
(defn wrap-reverse-routing [handler & {:keys [root] :or {:root ""}}]
(fn [request]
- (binding [*lookup-route* (->> handler meta ::lookup)
+ (binding [*lookup-route* (->> handler deref-if-var meta ::lookup)
*root* root]
(handler request))))