Created
March 15, 2012 18:07
-
-
Save ieure/2045735 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
(defroutes listing-routes | |
(GET "/user/:user-uuid" [user-uuid] | |
(list-assets user-uuid))) | |
(defn wrap-dump-req [handler] | |
(fn [req] | |
(prn req) | |
(handler req))) | |
(defroutes main-routes | |
(wrap-dump-req listing-routes)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment