Skip to content

Instantly share code, notes, and snippets.

@ieure
Created March 15, 2012 18:07
Show Gist options
  • Save ieure/2045735 to your computer and use it in GitHub Desktop.
Save ieure/2045735 to your computer and use it in GitHub Desktop.
(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