summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-12-17 06:47:42 -0800
committerSteve Manuel <nilslice@gmail.com>2016-12-17 06:47:42 -0800
commit3604e0b685920e91ed9655cfeaa0d229b322648b (patch)
treea894dccdefb3d9e238fdecb75ce79f29eba44d55 /addons
parent28eab815255e437afb7efabf89b84a74fbc6af71 (diff)
adding a new addon "get"
Diffstat (limited to 'addons')
-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 {