diff --git a/src/compojure/api/meta.clj b/src/compojure/api/meta.clj index 642f8ffc..c061d4b3 100644 --- a/src/compojure/api/meta.clj +++ b/src/compojure/api/meta.clj @@ -815,7 +815,7 @@ (or (and (seq? form) (= 2 (count form)) (= 'var (first form)) - (when-some [v (resolve-var &env (second form))] + (when-some [v (resolve-var nil (second form))] (not (:dynamic (meta v))))) (when (symbol? form) (let [r (resolve &env form)]