Created
November 28, 2013 05:42
-
-
Save ikitommi/7687741 to your computer and use it in GitHub Desktop.
keywordize-keys on ring request
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
(require '[clojure.walk :as walk]) | |
(defn keywordize-request | |
[handler] | |
(fn [request] | |
(handler | |
(walk/keywordize-keys request)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment