a guest Oct 6th, 2014 195 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- (defroutes app
- (ANY "/user/:u" [u]
- :allowed-methods [:get :post]
- :handle-ok (fn [_] (user u))
- :post! (fn [_] (format "called post with %s" u))))
RAW Paste Data