summaryrefslogtreecommitdiff
path: root/system/admin/handlers.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-11-03 17:07:42 -0700
committerSteve Manuel <nilslice@gmail.com>2016-11-03 17:07:42 -0700
commit06859257193861b932e14b519f05638f4d737bad (patch)
tree2a13c48eee0915da516e07a968183b7bcffada63 /system/admin/handlers.go
parenta89e0300860bb25298aef37a79f18e1a5b9e63fc (diff)
adding initial implementation with fake data of analytics chart
Diffstat (limited to 'system/admin/handlers.go')
-rw-r--r--system/admin/handlers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/admin/handlers.go b/system/admin/handlers.go
index 64f10ed..1291bbb 100644
--- a/system/admin/handlers.go
+++ b/system/admin/handlers.go
@@ -25,7 +25,7 @@ import (
)
func adminHandler(res http.ResponseWriter, req *http.Request) {
- view, err := Admin(nil)
+ view, err := Admin([]byte(analyticsHTML))
if err != nil {
log.Println(err)
res.WriteHeader(http.StatusInternalServerError)