Fork me on GitHub
#ring
<
2016-08-07
>
ska19:08:49

Is it possible to have different middlewares on different (compojure) routes? E.g. push everything under /api through wrap-keyword-params and everything under /pages through wrap-session (handlers used just as examples).

weavejester21:08:43

ska: Yes, you just apply the middleware directly to the routes.