From 3de54a2968bf0c4aaf5b222c383adbc113b85ef1 Mon Sep 17 00:00:00 2001 From: Andrew Patton Date: Fri, 2 May 2014 17:31:33 -0400 Subject: [PATCH] Fix #159 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Being optimistic and hoping that my minimal understanding of the codebase is enough to inform this fix, and that it actually works. Fingers crossed… --- routers/repo/issue.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/repo/issue.go b/routers/repo/issue.go index edcc3ea61..e31449521 100644 --- a/routers/repo/issue.go +++ b/routers/repo/issue.go @@ -294,5 +294,5 @@ func Comment(ctx *middleware.Context, params martini.Params) { } } - ctx.Redirect(fmt.Sprintf("%s/issues/%d", ctx.Repo.RepoLink, index)) + ctx.Redirect(fmt.Sprintf("/%s/%s/issues/%d", ctx.Repo.Repository.Owner.Name, ctx.Repo.Repository.Name, index)) }