Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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 3 changed files with 8 additions and 3 deletions. Show diff stats Hide diff stats

  1. +6 1 README.md
  2. +1 1  project.clj
  3. +1 1  src/noir/server.clj
7 README.md
Source Rendered
@@ -4,7 +4,12 @@ A framework for writing clojure websites
4 4
5 5 ## Usage
6 6
7   -FIXME: write
  7 +See example usage here: https://github.com/ibdknox/noir-example
  8 +
  9 +That example will be getting better soon to show something non-trivial built in it.
  10 +
  11 +To include in a leiningen project, add this to your dependencies:
  12 +[noir "0.2.9"]
8 13
9 14 ## License
10 15
2  project.clj
... ... @@ -1,4 +1,4 @@
1   -(defproject noir "0.2.8"
  1 +(defproject noir "0.2.9"
2 2 :description "Noir - a clojure web framework"
3 3 :dependencies [[org.clojure/clojure "1.2.1"]
4 4 [org.clojure/clojure-contrib "1.2.0"]
2  src/noir/server.clj
@@ -26,7 +26,7 @@
26 26
27 27 (defn- wrap-custom-middleware [handler]
28 28 (loop [cur handler
29   - mware @*middleware*]
  29 + mware (seq @*middleware*)]
30 30 (if-not mware
31 31 cur
32 32 (let [[func args] (first mware)

0 comments on commit 4b97617

Please sign in to comment.
Something went wrong with that request. Please try again.