Skip to content

Commit

Permalink
Fix homepage link.
Browse files Browse the repository at this point in the history
  • Loading branch information
ato committed Oct 8, 2010
1 parent 2ab2fc8 commit 6dcc21a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/clojars/db.clj
Expand Up @@ -171,8 +171,8 @@
:user account
:created (Date.)
:description (:description jarmap)
:homepage (:url jarmap)
:authors (join ", " (map #(.replace % "," "")
:homepage (:homepage jarmap)
:authors (join ", " (map #(.replace % "," "")
(:authors jarmap)))}))))

(defn search-jars [query & [offset]]
Expand Down
2 changes: 1 addition & 1 deletion src/clojars/web/jar.clj
Expand Up @@ -26,4 +26,4 @@
(tag "</dependency>")]]
[:p "Pushed by " (user-link (:user jar)) " on " (java.util.Date. (:created jar))]
(when-let [homepage (:homepage jar)]
[:p (link-to homepage)])]))
[:p (link-to homepage (str (h homepage)))])]))

0 comments on commit 6dcc21a

Please sign in to comment.