aboutsummaryrefslogtreecommitdiff
path: root/internal/route
diff options
context:
space:
mode:
authorKevin Gentile <gentile_kevin94@hotmail.com>2019-12-09 17:20:04 -0500
committerUnknwon <u@gogs.io>2019-12-09 14:20:04 -0800
commit1b929e3afce638b808c30074ec0461c72e636abc (patch)
tree37f8e59c2a7e34a000c0075b6502af525d413648 /internal/route
parent6b9b42bbdf923c3c10b8991897dc05f4cc5b5f14 (diff)
repo: fix stale webhook documentation link (#5883)
Diffstat (limited to 'internal/route')
-rw-r--r--internal/route/repo/webhook.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/route/repo/webhook.go b/internal/route/repo/webhook.go
index 2d2ca55a..2983cbda 100644
--- a/internal/route/repo/webhook.go
+++ b/internal/route/repo/webhook.go
@@ -8,7 +8,7 @@ import (
"fmt"
"strings"
- "github.com/json-iterator/go"
+ jsoniter "github.com/json-iterator/go"
"github.com/unknwon/com"
git "github.com/gogs/git-module"
@@ -31,7 +31,7 @@ func Webhooks(c *context.Context) {
c.Data["Title"] = c.Tr("repo.settings.hooks")
c.Data["PageIsSettingsHooks"] = true
c.Data["BaseLink"] = c.Repo.RepoLink
- c.Data["Description"] = c.Tr("repo.settings.hooks_desc", "https://github.com/gogs/go-gogs-client/wiki/Repositories-Webhooks")
+ c.Data["Description"] = c.Tr("repo.settings.hooks_desc", "https://github.com/gogs/docs-api/blob/master/Repositories/Webhooks.md")
c.Data["Types"] = setting.Webhook.Types
ws, err := db.GetWebhooksByRepoID(c.Repo.Repository.ID)