From f65a0092d3c30880d8bf6a9e9f07573b36ee7816 Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Wed, 11 Jan 2017 18:33:37 -0800 Subject: attempting to force item.Types to be populated before the db Init step --- system/addon/addon.go | 1 + system/addon/manager.go | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'system/addon') diff --git a/system/addon/addon.go b/system/addon/addon.go index e4e8f70..51be9dc 100644 --- a/system/addon/addon.go +++ b/system/addon/addon.go @@ -8,6 +8,7 @@ import ( "github.com/ponzu-cms/ponzu/system/db" "github.com/ponzu-cms/ponzu/system/item" + "github.com/tidwall/sjson" ) diff --git a/system/addon/manager.go b/system/addon/manager.go index d73e228..d3c9673 100644 --- a/system/addon/manager.go +++ b/system/addon/manager.go @@ -7,8 +7,9 @@ import ( "html/template" "net/url" - "github.com/gorilla/schema" "github.com/ponzu-cms/ponzu/management/editor" + + "github.com/gorilla/schema" "github.com/tidwall/gjson" ) -- cgit v1.2.3