summaryrefslogtreecommitdiffstats
path: root/modules/context/api.go
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/context/api.go
parent1b962bac0bb00d6ce2bfd29fdeb1f95301e17b98 (diff)
downloadgitea-6bf9910975438c4198fa82a32849f3eea566b9d1.tar.gz
gitea-6bf9910975438c4198fa82a32849f3eea566b9d1.zip
Set correct doc url for go-sdk
Diffstat (limited to 'modules/context/api.go')
-rw-r--r--modules/context/api.go2
1 files changed, 1 insertions, 1 deletions
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,
})
}