diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-11-08 19:49:08 -0800 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-11-08 19:49:08 -0800 |
commit | f0eeb90641a85f30ea364a506fa548ac3b24fd09 (patch) | |
tree | 6b7173fe859e70ed89374cc2a58b1207c3791a21 /system/admin/handlers.go | |
parent | c8c4ae95a14e9b976a8bf0aa796e9c995ef071e7 (diff) |
moving Mergable interface to content package. Still hit cyclical import issue, still makes sense to have in content
Diffstat (limited to 'system/admin/handlers.go')
-rw-r--r-- | system/admin/handlers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/admin/handlers.go b/system/admin/handlers.go index 59f6874..fe04601 100644 --- a/system/admin/handlers.go +++ b/system/admin/handlers.go @@ -837,7 +837,7 @@ func approvePostHandler(res http.ResponseWriter, req *http.Request) { } // check if we have a Mergeable - m, ok := post.(manager.Mergeable) + m, ok := post.(content.Mergeable) if !ok { log.Println("Content type", t, "must implement api.Mergable before it can bee approved.") res.WriteHeader(http.StatusBadRequest) |