Fork me on GitHub

I am trying to achieve a similar goal to the above user, with just compojure and ring. I'm wondering why this code does not only run the verify-token middleware for the GET request, but also runs it for the POST request, even though I specified the middleware just for the GET.


Or should I be implementing per-route logic differently?


@brandon.ringe with normal compojure, you can use wrap-routes. Just don't use nginx-clojure with it (