summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorThomas Boerger <tboerger@suse.de>2016-11-07 10:07:43 +0100
committerThomas Boerger <tboerger@suse.de>2016-11-07 14:49:25 +0100
commit6bf9910975438c4198fa82a32849f3eea566b9d1 (patch)
tree5bd2401e30e9dc0351ba26f2205d0a0218c6ae10 /modules
parent1b962bac0bb00d6ce2bfd29fdeb1f95301e17b98 (diff)
downloadgitea-6bf9910975438c4198fa82a32849f3eea566b9d1.tar.gz
gitea-6bf9910975438c4198fa82a32849f3eea566b9d1.zip
Set correct doc url for 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..28e3c274d0 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"
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,
})
}