aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorThomas Boerger <thomas@webhippie.de>2016-11-07 16:31:17 +0100
committerGitHub <noreply@github.com>2016-11-07 16:31:17 +0100
commit5d430c9e68f7e50e6d1727c43518e84579fd6a4f (patch)
tree8b4c8058aa6d24f7e1bf5637327bfee229cc85f7 /modules
parentee963f67c1eb023b6ed70a2c0f14c6d3c927b8ac (diff)
parent4c6c16f358a67d31b1cde8642d4175a336fdcbf0 (diff)
downloadgitea-5d430c9e68f7e50e6d1727c43518e84579fd6a4f.tar.gz
gitea-5d430c9e68f7e50e6d1727c43518e84579fd6a4f.zip
Merge pull request #108 from go-gitea/go-sdk
Replaced gogits go-gogs-client with go-sdk
Diffstat (limited to 'modules')
-rw-r--r--modules/base/base.go2
-rw-r--r--modules/context/api.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/base/base.go b/modules/base/base.go
index 8ba211aa7a..5c5632dee8 100644
--- a/modules/base/base.go
+++ b/modules/base/base.go
@@ -4,7 +4,7 @@
package base
-const DOC_URL = "https://github.com/gogits/go-gogs-client/wiki"
+const DocURL = "https://godoc.org/github.com/go-gitea/go-sdk/gitea"
type (
TplName string
diff --git a/modules/context/api.go b/modules/context/api.go
index dfd9a57818..1ae11f63fb 100644
--- a/modules/context/api.go
+++ b/modules/context/api.go
@@ -36,7 +36,7 @@ func (ctx *APIContext) Error(status int, title string, obj interface{}) {
ctx.JSON(status, map[string]string{
"message": message,
- "url": base.DOC_URL,
+ "url": base.DocURL,
})
}