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)) }