diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-11-08 19:44:21 -0800 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-11-08 19:44:21 -0800 |
commit | c8c4ae95a14e9b976a8bf0aa796e9c995ef071e7 (patch) | |
tree | dfcbe5085a4e59409fdbcecd5cf33f41a1a4d388 /system/admin/handlers.go | |
parent | 559e8c8996ab86e254a8fe74f52ebede0ba2013e (diff) |
moving interface Mergable from api package to manager package. It avoids a cyclical import and also makes more sense logically as the management of content owns the scope of merging external to interal items
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 a53ebd3..59f6874 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.(api.Mergeable) + m, ok := post.(manager.Mergeable) if !ok { log.Println("Content type", t, "must implement api.Mergable before it can bee approved.") res.WriteHeader(http.StatusBadRequest) |