aboutsummaryrefslogtreecommitdiffstats
path: root/routers/admin
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-05-01 18:53:41 -0400
committerUnknown <joe2010xtmf@163.com>2014-05-01 18:53:41 -0400
commit100cd181bcc9fc46981cc2a4b88c05ad459fbc8f (patch)
tree2b2a8f07fa2760721e9418c39c51d751618ada5a /routers/admin
parent03c2468c2fa68e5b3c5cb6c498a155e7d725ccdb (diff)
downloadgitea-100cd181bcc9fc46981cc2a4b88c05ad459fbc8f.tar.gz
gitea-100cd181bcc9fc46981cc2a4b88c05ad459fbc8f.zip
Add router log config option
Diffstat (limited to 'routers/admin')
-rw-r--r--routers/admin/admin.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/admin/admin.go b/routers/admin/admin.go
index fddd830185..14128c8c2b 100644
--- a/routers/admin/admin.go
+++ b/routers/admin/admin.go
@@ -140,6 +140,7 @@ func Config(ctx *middleware.Context) {
ctx.Data["AppUrl"] = base.AppUrl
ctx.Data["Domain"] = base.Domain
ctx.Data["OfflineMode"] = base.OfflineMode
+ ctx.Data["RouterLog"] = base.RouterLog
ctx.Data["RunUser"] = base.RunUser
ctx.Data["RunMode"] = strings.Title(martini.Env)
ctx.Data["RepoRootPath"] = base.RepoRootPath