summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--addons/reference/reference.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/addons/reference/reference.go b/addons/reference/reference.go
index 48a9748..66a20e0 100644
--- a/addons/reference/reference.go
+++ b/addons/reference/reference.go
@@ -6,8 +6,9 @@ import (
"fmt"
"text/template"
+ "get"
+
"github.com/bosssauce/ponzu/management/editor"
- "github.com/bosssauce/ponzu/system/api"
)
// Referenceable enures there is a way to reference the implenting type from
@@ -26,7 +27,7 @@ func Select(fieldName string, p interface{}, attrs map[string]string, contentTyp
options := make(map[string]string)
var data []map[string]interface{}
- j := api.ContentAll(contentType)
+ j := get.ContentAll(contentType)
err := json.Unmarshal(j, data)
if err != nil {