diff options
author | KN4CK3R <admin@oldschoolhack.me> | 2021-12-30 07:44:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-30 07:44:42 +0100 |
commit | 67d7ad681a1c66d2e08e50d16a6ea2507a0cb0ec (patch) | |
tree | c33c737016946857a4a8daf5c98708f65d64c38b /routers | |
parent | 626b10794fbc8b834883d96640767fa09b0a499d (diff) | |
download | gitea-67d7ad681a1c66d2e08e50d16a6ea2507a0cb0ec.tar.gz gitea-67d7ad681a1c66d2e08e50d16a6ea2507a0cb0ec.zip |
Fix wrong redirect on org labels (#18128)
Diffstat (limited to 'routers')
-rw-r--r-- | routers/web/org/org_labels.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/org/org_labels.go b/routers/web/org/org_labels.go index 7a8aa184b2..9cc9a92507 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 } |