Browse files

Merge pull request #111 from kenrestivo/doc_fix

make example code compile
  • Loading branch information...
Raynes committed Jun 5, 2012
2 parents bc545f4 + 959aada commit 3e00cd5da02659a50fd6e0c48255d77fd50e6fe9
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 3e00cd5

Please sign in to comment.