summaryrefslogtreecommitdiffstats
path: root/routers/admin
diff options
context:
space:
mode:
Diffstat (limited to 'routers/admin')
-rw-r--r--routers/admin/admin.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/routers/admin/admin.go b/routers/admin/admin.go
index 94b88a05c3..39a8f718ca 100644
--- a/routers/admin/admin.go
+++ b/routers/admin/admin.go
@@ -224,9 +224,9 @@ func Config(ctx *context.Context) {
ctx.Data["Mailer"] = setting.MailService
}
- ctx.Data["CacheAdapter"] = setting.CacheAdapter
- ctx.Data["CacheInterval"] = setting.CacheInterval
- ctx.Data["CacheConn"] = setting.CacheConn
+ ctx.Data["CacheAdapter"] = setting.CacheService.Adapter
+ ctx.Data["CacheInterval"] = setting.CacheService.Interval
+ ctx.Data["CacheConn"] = setting.CacheService.Conn
ctx.Data["SessionConfig"] = setting.SessionConfig