Permalink
Browse files

update readme, fix absent middleware issue

Signed-off-by: Chris Granger <ibdknox@gmail.com>
  • Loading branch information...
1 parent 34145c5 commit 4b97617e572cd683dcd41532f87a8cc2fee8a856 @ibdknox ibdknox committed May 31, 2011
Showing with 8 additions and 3 deletions.
  1. +6 −1 README.md
  2. +1 −1 project.clj
  3. +1 −1 src/noir/server.clj
View
7 README.md
@@ -4,7 +4,12 @@ A framework for writing clojure websites
## Usage
-FIXME: write
+See example usage here: https://github.com/ibdknox/noir-example
+
+That example will be getting better soon to show something non-trivial built in it.
+
+To include in a leiningen project, add this to your dependencies:
+[noir "0.2.9"]
## License
View
2 project.clj
@@ -1,4 +1,4 @@
-(defproject noir "0.2.8"
+(defproject noir "0.2.9"
:description "Noir - a clojure web framework"
:dependencies [[org.clojure/clojure "1.2.1"]
[org.clojure/clojure-contrib "1.2.0"]
View
2 src/noir/server.clj
@@ -26,7 +26,7 @@
(defn- wrap-custom-middleware [handler]
(loop [cur handler
- mware @*middleware*]
+ mware (seq @*middleware*)]
(if-not mware
cur
(let [[func args] (first mware)

0 comments on commit 4b97617

Please sign in to comment.