diff options
Diffstat (limited to 'routes/repo/webhook.go')
-rw-r--r-- | routes/repo/webhook.go | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/routes/repo/webhook.go b/routes/repo/webhook.go index 53e5c596..b052ddd8 100644 --- a/routes/repo/webhook.go +++ b/routes/repo/webhook.go @@ -11,14 +11,14 @@ import ( "github.com/Unknwon/com" - git "github.com/gogits/git-module" - api "github.com/gogits/go-gogs-client" - - "github.com/gogits/gogs/models" - "github.com/gogits/gogs/models/errors" - "github.com/gogits/gogs/pkg/context" - "github.com/gogits/gogs/pkg/form" - "github.com/gogits/gogs/pkg/setting" + git "github.com/gogs/git-module" + api "github.com/gogs/go-gogs-client" + + "github.com/gogs/gogs/models" + "github.com/gogs/gogs/models/errors" + "github.com/gogs/gogs/pkg/context" + "github.com/gogs/gogs/pkg/form" + "github.com/gogs/gogs/pkg/setting" ) const ( @@ -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/gogits/go-gogs-client/wiki/Repositories-Webhooks") + c.Data["Description"] = c.Tr("repo.settings.hooks_desc", "https://github.com/gogs/go-gogs-client/wiki/Repositories-Webhooks") c.Data["Types"] = setting.Webhook.Types ws, err := models.GetWebhooksByRepoID(c.Repo.Repository.ID) |