Browse files

Wrong static url in use when img-builder has a src transform

  • Loading branch information...
1 parent f453ef7 commit 364668b2b7d20c005d02a30d0c8d1b4304f7dc9c @amalloy amalloy committed Oct 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/foreclojure/utils.clj
@@ -188,7 +188,7 @@
[data & {:keys [alt src] :or {alt identity, src identity}}]
(fn [key]
(let [[src-prop alt-prop] (get data key)]
- [:img {:src (src (static-url src-prop))
+ [:img {:src (static-url (src src-prop))
:alt (alt alt-prop)}])))
(defn form-row [[type name info value]]

0 comments on commit 364668b

Please sign in to comment.