Browse Source

Use :index instead of :issue in UpdateIssueMilestone

pull/331/head
Justin Nuß 11 years ago
parent
commit
7de3dd01de
  1. 2
      routers/repo/issue.go

2
routers/repo/issue.go

@ -565,7 +565,7 @@ func UpdateIssueMilestone(ctx *middleware.Context) {
return
}
issueId := com.StrTo(ctx.Params(":issue")).MustInt64()
issueId := com.StrTo(ctx.Params(":index")).MustInt64()
if issueId == 0 {
ctx.Error(404)
return

Loading…
Cancel
Save