summaryrefslogtreecommitdiff
path: root/system/db/content.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-12-06 09:54:14 -0800
committerSteve Manuel <nilslice@gmail.com>2016-12-06 09:54:14 -0800
commit4e5f54cf8f64b849bf2fbdd610012ebeb7786091 (patch)
tree6fd9394a1b5a4733a7d20067b8c588ee5fcd8fc4 /system/db/content.go
parent40b5cfe2289b179c511a6c73757bb64228f0bc82 (diff)
removing ContentName() from editor.Editble and adding String() to content.Identifiable so embedded Items can manage display names by default, but easily overridden
Diffstat (limited to 'system/db/content.go')
-rw-r--r--system/db/content.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/db/content.go b/system/db/content.go
index 76d95c5..b2ba87a 100644
--- a/system/db/content.go
+++ b/system/db/content.go
@@ -418,7 +418,7 @@ func postToJSON(ns string, data url.Values) ([]byte, error) {
return nil, err
}
- slug, err := manager.Slug(post.(editor.Editable))
+ slug, err := manager.Slug(post.(content.Identifiable))
if err != nil {
return nil, err
}