]> source.dussan.org Git - gitea.git/commitdiff
Fix guide link for webhooks in repository settings (#3291) (#3292)
authorElouan Martinet <exa@elou.world>
Wed, 3 Jan 2018 15:50:09 +0000 (16:50 +0100)
committerBo-Yi Wu <appleboy.tw@gmail.com>
Wed, 3 Jan 2018 15:50:09 +0000 (23:50 +0800)
Signed-off-by: Elouan Martinet <exa@elou.world>
routers/repo/webhook.go

index 1bff139528fb5b5c4f72e6eae3842ed872b726a5..8fdc32849d815d12c8362e428b95d375e831651f 100644 (file)
@@ -33,7 +33,7 @@ func Webhooks(ctx *context.Context) {
        ctx.Data["Title"] = ctx.Tr("repo.settings.hooks")
        ctx.Data["PageIsSettingsHooks"] = true
        ctx.Data["BaseLink"] = ctx.Repo.RepoLink
-       ctx.Data["Description"] = ctx.Tr("repo.settings.hooks_desc", "https://godoc.org/code.gitea.io/sdk/gitea")
+       ctx.Data["Description"] = ctx.Tr("repo.settings.hooks_desc", "https://docs.gitea.io/en-us/webhooks/")
 
        ws, err := models.GetWebhooksByRepoID(ctx.Repo.Repository.ID)
        if err != nil {