Last active
August 29, 2015 14:24
-
-
Save lynndylanhurley/695495f7584c1295a75f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defmacro foo-route [] | |
`["/x" {:get 'foo-handler}]) | |
(defroutes routes | |
[[["/" | |
;; I'm trying to do this, but it does NOT work | |
["/foo" (foo-route)] | |
;; this does work | |
["/bar" ["/" {:get bar-handler}]]]]]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment