mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Add PageComments to allowed_actions
This commit is contained in:
parent
fe9afc2e36
commit
18f2639e51
@ -164,7 +164,8 @@ class BlogEntry extends Page {
|
|||||||
class BlogEntry_Controller extends Page_Controller {
|
class BlogEntry_Controller extends Page_Controller {
|
||||||
static $allowed_actions = array(
|
static $allowed_actions = array(
|
||||||
'trackbackping',
|
'trackbackping',
|
||||||
'unpublishPost'
|
'unpublishPost',
|
||||||
|
'PageComments'
|
||||||
);
|
);
|
||||||
|
|
||||||
function init() {
|
function init() {
|
||||||
|
Loading…
Reference in New Issue
Block a user