diff --git a/routers/web/org/org_labels.go b/routers/web/org/org_labels.go index 7a8aa184b2ba8..9cc9a92507fbf 100644 --- a/routers/web/org/org_labels.go +++ b/routers/web/org/org_labels.go @@ -96,7 +96,7 @@ func DeleteLabel(ctx *context.Context) { func InitializeLabels(ctx *context.Context) { form := web.GetForm(ctx).(*forms.InitializeLabelsForm) if ctx.HasError() { - ctx.Redirect(ctx.Repo.RepoLink + "/labels") + ctx.Redirect(ctx.Org.OrgLink + "/labels") return }