Add PageComments to allowed_actions

This commit is contained in:
Andrew O'Neil 2008-12-16 20:37:14 +00:00
parent fe9afc2e36
commit 18f2639e51
1 changed files with 2 additions and 1 deletions

View File

@ -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() {