summaryrefslogtreecommitdiff
path: root/system/db/content.go
diff options
context:
space:
mode:
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 cfbd4ef..b43d611 100644
--- a/system/db/content.go
+++ b/system/db/content.go
@@ -381,7 +381,7 @@ func postToJSON(ns string, data url.Values) ([]byte, error) {
if err != nil {
return nil, err
}
- post.(editor.Editable).SetSlug(slug)
+ post.(content.Sluggable).SetSlug(slug)
// marshall content struct to json for db storage
j, err := json.Marshal(post)