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 /management/manager | |
parent | c8c4ae95a14e9b976a8bf0aa796e9c995ef071e7 (diff) |
moving Mergable interface to content package. Still hit cyclical import issue, still makes sense to have in content
Diffstat (limited to 'management/manager')
-rw-r--r-- | management/manager/manager.go | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/management/manager/manager.go b/management/manager/manager.go index 9a0ed19..2830ba4 100644 --- a/management/manager/manager.go +++ b/management/manager/manager.go @@ -4,19 +4,10 @@ import ( "bytes" "fmt" "html/template" - "net/http" "github.com/bosssauce/ponzu/management/editor" ) -// Mergeable allows external post content to be approved and published through -// the public-facing API -type Mergeable interface { - // Approve copies an external post to the internal collection and triggers - // a re-sort of its content type posts - Approve(req *http.Request) error -} - const managerHTML = ` <div class="card editor"> <form method="post" action="/admin/edit" enctype="multipart/form-data"> |