Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update readme, fix absent middleware issue

Signed-off-by: Chris Granger <ibdknox@gmail.com>
  • Loading branch information...
commit 4b97617e572cd683dcd41532f87a8cc2fee8a856 1 parent 34145c5
Chris Granger ibdknox authored
Showing with 8 additions and 3 deletions.
  1. +6 −1 README.md
  2. +1 −1  project.clj
  3. +1 −1  src/noir/server.clj
7 README.md
View
@@ -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
2  project.clj
View
@@ -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"]
2  src/noir/server.clj
View
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.