Permalink
Browse files

Use correct signature for redirect; Fixes #103

  • Loading branch information...
1 parent 8613983 commit a5a043e3e6ea59753ee4c146aa4071bd6f85c6b4 @xeqi xeqi committed Nov 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/clojars/web.clj
View
@@ -154,7 +154,7 @@
(if-let [jar (find-jar jarname groupname version)]
(do (promote/promote (set/rename-keys jar {:jar_name :name
:group_name :group}))
- (redirect (jar-url groupname jarname)))
+ (redirect (jar-url {:group_name groupname :jar_name jarname})))
:next))))
(GET "/:username" {session :session {username :username} :params}
(if-let [user (find-user username)]

0 comments on commit a5a043e

Please sign in to comment.