Skip to content
Browse files

make example code compile

  • Loading branch information...
1 parent eb36d99 commit 959aadae70cfb8b0b5276710d3248942ff792421 @kenrestivo kenrestivo committed May 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/noir/core.clj
View
2 src/noir/core.clj
@@ -212,7 +212,7 @@
a compojure route using noir's [:method route] syntax, but allows functions
to be created dynamically:
- (custom-handler* [:post \"/login\"] (fn [params] (println req)))
+ (custom-handler* [:post \"/login\"] (fn [params] (println params)))
These are primarily used to interface with other dynamic handler generating libraries"
[route func]

0 comments on commit 959aada

Please sign in to comment.
Something went wrong with that request. Please try again.