diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-10-26 03:55:15 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-10-26 03:55:15 -0700 |
commit | d6147f3fc99151687e08d40c91555e65578515d8 (patch) | |
tree | 5032556f63c299954fe1b1f621326e9af481387e /content/post.go | |
parent | e8945192276de251022bd4732178cd0143f41f78 (diff) |
adding capability to accept external content type submissions
Diffstat (limited to 'content/post.go')
-rw-r--r-- | content/post.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/content/post.go b/content/post.go index dcdfeff..eb46de7 100644 --- a/content/post.go +++ b/content/post.go @@ -88,3 +88,8 @@ func (p *Post) SetSlug(slug string) { p.Slug = slug } // Editor partially implements editor.Editable func (p *Post) Editor() *editor.Editor { return &p.editor } + +// Accepts accepts or recjects external requests to submit Review submissions +func (p *Post) Accepts() bool { + return false +} |