summaryrefslogtreecommitdiff
path: root/system/admin/admin.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2017-01-11 19:02:10 -0800
committerSteve Manuel <nilslice@gmail.com>2017-01-11 19:02:10 -0800
commitbab8292abf06a409007dbec68424e7df16a6e25c (patch)
tree24f0273cee2d3c0a121e8bb91a380e4ff51a929f /system/admin/admin.go
parentcb844b1e9c4405f06808c517f03362608fb3d246 (diff)
move content _ import to admin
Diffstat (limited to 'system/admin/admin.go')
-rw-r--r--system/admin/admin.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/system/admin/admin.go b/system/admin/admin.go
index 9c4cfdd..594ffb3 100644
--- a/system/admin/admin.go
+++ b/system/admin/admin.go
@@ -12,6 +12,9 @@ import (
"github.com/ponzu-cms/ponzu/system/api/analytics"
"github.com/ponzu-cms/ponzu/system/db"
"github.com/ponzu-cms/ponzu/system/item"
+
+ // content package must be initialized so our db is pre-configured
+ _ "github.com/ponzu-cms/ponzu/content"
)
var startAdminHTML = `<!doctype html>