aboutsummaryrefslogtreecommitdiff
path: root/routers/web/org/org_labels.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/web/org/org_labels.go')
-rw-r--r--routers/web/org/org_labels.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/org/org_labels.go b/routers/web/org/org_labels.go
index 26e232bcc..c58a250b7 100644
--- a/routers/web/org/org_labels.go
+++ b/routers/web/org/org_labels.go
@@ -94,7 +94,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
}