Permalink
Browse files

make custom middleware preserve order

Signed-off-by: Chris Granger <ibdknox@gmail.com>
  • Loading branch information...
1 parent 3f6549f commit 6f34923f6582ecd852309f6e3ba7884306f63dcf @ibdknox ibdknox committed Aug 25, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/noir/server/handler.clj
@@ -12,7 +12,7 @@
[noir.session :as session]
[noir.validation :as validation]))
-(defonce middleware (atom #{}))
+(defonce middleware (atom []))
(defn- spec-routes []
[(c-route/resources "/" {:root (options/get :resource-root "public")})

0 comments on commit 6f34923

Please sign in to comment.