aboutsummaryrefslogtreecommitdiff
path: root/routes/repo/webhook.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2018-05-27 08:53:48 +0800
committerUnknwon <u@gogs.io>2018-05-27 08:53:48 +0800
commitaff42082441715559bb2e62e11550af1a946a8c9 (patch)
treed5349c3d486346210a989659e788b50589198e69 /routes/repo/webhook.go
parent73dbaefec50c4fc99a63c5be2891a1a34db18767 (diff)
*: rename "gogits" to "gogs"
Diffstat (limited to 'routes/repo/webhook.go')
-rw-r--r--routes/repo/webhook.go18
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)