rename wrap-checks

This commit is contained in:
Gered 2015-01-07 22:09:04 -05:00
parent f4527253b7
commit 5780caa698

View file

@ -23,7 +23,7 @@
(-> (response/content "Route checks did not all pass.")
(response/status 500)))
(defmacro wrap-checks
(defmacro checked-routes
"Wraps a handler (e.g. subset of routes) with one or more filters ('checks') which
are run before to handler is run. If any of the filters return nil, fail-response
is returned by the server instead of running the wrapped handler. Filter functions