Browse Source

Fix #159

Being optimistic and hoping that my minimal understanding of the codebase is enough to inform this fix, and that it actually works. Fingers crossed…
pull/160/head
Andrew Patton 11 years ago
parent
commit
3de54a2968
  1. 2
      routers/repo/issue.go

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

Loading…
Cancel
Save