apparently middleware are loaded/run in the reverse order?

This commit is contained in:
Gered 2014-03-27 21:05:01 -04:00
parent 9c5577c6d3
commit f4b00a0484

View file

@ -62,6 +62,6 @@
(def app (app-handler
[auth-routes home-routes posts-routes files-routes rss-routes app-routes]
:middleware [wrap-servlet-context-path wrap-exceptions]
:middleware [wrap-exceptions wrap-servlet-context-path]
:access-rules [{:redirect "/unauthorized" :rule auth-required}]
:formats [:json-kw :edn]))