From a9e6d49dc6f7070538ac24de2134b3dcba8d9e87 Mon Sep 17 00:00:00 2001 From: Unknown Date: Fri, 2 May 2014 17:30:59 -0400 Subject: Fix #159 --- routers/repo/issue.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routers') diff --git a/routers/repo/issue.go b/routers/repo/issue.go index 9ab07c0d59..edcc3ea61b 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/%s/issues/%d", ctx.User.Name, ctx.Repo.Repository.Name, index)) + ctx.Redirect(fmt.Sprintf("%s/issues/%d", ctx.Repo.RepoLink, index)) } -- cgit v1.2.3