Created
January 22, 2013 23:13
-
-
Save dpwright/4599677 to your computer and use it in GitHub Desktop.
Demonstrates how I'm passing the friend and dieter middlewares to Compojure's compojure.handler/site In my project.clj I have `:ring {:handler wedmgr.core/app}`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(def app | |
(-> (handler/site | |
(friend/authenticate app-routes | |
{:credential-fn users/authenticate | |
:workflows [(workflows/interactive-form)]})) | |
(dieter/asset-pipeline))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment