summaryrefslogtreecommitdiffstats
path: root/routers/admin/admin.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-02-27 20:48:39 -0500
committerUnknwon <u@gogs.io>2016-02-27 20:48:39 -0500
commit8055a0bdac005189077df69870cd2ed0b7eebd56 (patch)
treebf3fa2bf419006ea846315eef48fb5e83378376c /routers/admin/admin.go
parent83c74878df3f6edec4fca51e9cec299d2a1bb897 (diff)
downloadgitea-8055a0bdac005189077df69870cd2ed0b7eebd56.tar.gz
gitea-8055a0bdac005189077df69870cd2ed0b7eebd56.zip
Post work for #2637
Improve test cases, config settings, also show SSH config settings on admin config panel.
Diffstat (limited to 'routers/admin/admin.go')
-rw-r--r--routers/admin/admin.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/routers/admin/admin.go b/routers/admin/admin.go
index db86abb84a..876a048de1 100644
--- a/routers/admin/admin.go
+++ b/routers/admin/admin.go
@@ -204,6 +204,8 @@ func Config(ctx *middleware.Context) {
ctx.Data["ScriptType"] = setting.ScriptType
ctx.Data["ReverseProxyAuthUser"] = setting.ReverseProxyAuthUser
+ ctx.Data["SSH"] = setting.SSH
+
ctx.Data["Service"] = setting.Service
ctx.Data["DbCfg"] = models.DbCfg
ctx.Data["Webhook"] = setting.Webhook