Skip to content

Instantly share code, notes, and snippets.

@foxdonut
Created June 17, 2013 20:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save foxdonut/5800057 to your computer and use it in GitHub Desktop.
Save foxdonut/5800057 to your computer and use it in GitHub Desktop.
(fn [chain]
(fn [req]
(do-something-before req)
(chain req) ; continue the chain -- you could potentially not call this to interrupt the chain
(do-something-after req)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment