From 22717a1c064511cf37c46af5e650baf7184cf25b Mon Sep 17 00:00:00 2001 From: ᴜɴᴋɴᴡᴏɴ Date: Sun, 22 Mar 2020 22:07:22 +0800 Subject: webhook: overhaul route handlers (#6002) * Overual route handlers and fixes #5366 * Merge routes for repo and org * Inject OrgRepoContext * DRY validateWebhook * DRY c.HasError * Add tests * Update CHANGELOG --- templates/repo/settings/webhook/settings.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/repo/settings/webhook/settings.tmpl') diff --git a/templates/repo/settings/webhook/settings.tmpl b/templates/repo/settings/webhook/settings.tmpl index 35ac4c79..7b20332e 100644 --- a/templates/repo/settings/webhook/settings.tmpl +++ b/templates/repo/settings/webhook/settings.tmpl @@ -119,7 +119,7 @@ {{else}} - {{.i18n.Tr "repo.settings.delete_webhook"}} + {{.i18n.Tr "repo.settings.delete_webhook"}} {{end}} -- cgit v1.2.3