Browse files

Remove extraneous require

  • Loading branch information...
arohner committed Aug 9, 2011
1 parent 8b61f22 commit 1ce6ec08a4edc2825a4ab77ad8835bc6d5b072a6
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/noir/core.clj
@@ -3,7 +3,6 @@
(:use hiccup.core
(:use [clojure.contrib.except :only (throwf)])
- (:require [clojure.string :as str])
(:require [clojure.string :as string]
[compojure.route :as c-route]))
@@ -106,7 +105,7 @@
(throwf "missing route-arg for %s" (first (filter #(not (contains? route-args %)) route-arg-names))))
(reduce (fn [path [k v]]
(assert (keyword? k))
- (str/replace path (str k) (str v))) url route-args)))
+ (string/replace path (str k) (str v))) url route-args)))
(defmacro url-for
"given a named route, i.e. (url-for foo), where foo is a named

0 comments on commit 1ce6ec0

Please sign in to comment.