Permalink
Browse files

make sure ring-request picks up the results of custom middleware

Signed-off-by: Chris Granger <ibdknox@gmail.com>
  • Loading branch information...
1 parent cb1ab76 commit fdeb5595b01e97b0e0ae3d2875350a7eaa2fa476 @ibdknox committed Apr 29, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 project.clj
  2. +2 −2 src/noir/server/handler.clj
View
@@ -1,4 +1,4 @@
-(defproject noir "1.3.0-beta2"
+(defproject noir "1.3.0-beta3"
:description "Noir - a clojure web framework"
:url "http://webnoir.org"
:codox {:exclude [noir.exception noir.content.defaults
@@ -91,8 +91,8 @@
;; result of a modification are evaluated on the first reload.
((pack-routes) request))
(pack-routes))
- (wrap-custom-middleware)
- (request/wrap-request-map))))
+ (request/wrap-request-map)
+ (wrap-custom-middleware))))
(defn add-custom-middleware
"Add a middleware function to all noir handlers."

0 comments on commit fdeb559

Please sign in to comment.