diff options
Diffstat (limited to 'routers/repo/setting.go')
-rw-r--r-- | routers/repo/setting.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/repo/setting.go b/routers/repo/setting.go index 240cb3c1..d97fd63b 100644 --- a/routers/repo/setting.go +++ b/routers/repo/setting.go @@ -462,6 +462,7 @@ func SettingsProtectedBranchPost(ctx *context.Context, form auth.ProtectBranchFo return } + ctx.Flash.Success(ctx.Tr("repo.settings.update_protect_branch_success")) ctx.Redirect(fmt.Sprintf("%s/settings/branches/%s", ctx.Repo.RepoLink, branch)) } |