Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 3e00cd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/noir/core.clj
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 3e00cd5

Please sign in to comment.