Skip to content

Commit

Permalink
make example code compile
Browse files Browse the repository at this point in the history
  • Loading branch information
kenrestivo committed Jun 5, 2012
1 parent eb36d99 commit 959aada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/noir/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 959aada

Please sign in to comment.