Permalink
Browse files

s3 fix and removing handler to fix GAE

Signed-off-by: Chris Granger <ibdknox@gmail.com>
  • Loading branch information...
1 parent a992715 commit 68e09c3e87d3cd964bb725ee3e980145b3bc9bf7 @ibdknox ibdknox committed Aug 24, 2011
Showing with 2 additions and 3 deletions.
  1. +1 −2 src/noir/server/handler.clj
  2. +1 −1 src/noir/util/s3.clj
@@ -2,8 +2,7 @@
"Handler generation functions used by noir.server and other ring handler libraries."
(:use [compojure.core :only [routes ANY]]
ring.middleware.reload-modified)
- (:require [compojure.handler :as handler]
- [compojure.route :as c-route]
+ (:require [compojure.route :as c-route]
[noir.core :as noir]
[noir.content.defaults :as defaults]
[noir.cookies :as cookie]
View
@@ -18,7 +18,7 @@
"Given a server-spec which contains {:secret-key :access-key} execute the given body
within the context of an S3 connection"
[server-spec & body]
- `(binding [*s3* (service server-spec)]
+ `(binding [*s3* (service ~server-spec)]
~@body))
(defn put!

0 comments on commit 68e09c3

Please sign in to comment.