mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
MINOR Added 'index' to $allowed_actions on BlogHolder, BlogTree, BlogEntry to comply to new RequestHandler API
This commit is contained in:
parent
9462d240b5
commit
26622686cc
@ -184,6 +184,7 @@ class BlogEntry extends Page {
|
|||||||
|
|
||||||
class BlogEntry_Controller extends Page_Controller {
|
class BlogEntry_Controller extends Page_Controller {
|
||||||
static $allowed_actions = array(
|
static $allowed_actions = array(
|
||||||
|
'index',
|
||||||
'trackbackping',
|
'trackbackping',
|
||||||
'unpublishPost',
|
'unpublishPost',
|
||||||
'PageComments',
|
'PageComments',
|
||||||
|
@ -132,6 +132,7 @@ class BlogHolder extends BlogTree implements PermissionProvider {
|
|||||||
class BlogHolder_Controller extends BlogTree_Controller {
|
class BlogHolder_Controller extends BlogTree_Controller {
|
||||||
|
|
||||||
static $allowed_actions = array(
|
static $allowed_actions = array(
|
||||||
|
'index',
|
||||||
'tag',
|
'tag',
|
||||||
'postblog' => 'BLOGMANAGEMENT',
|
'postblog' => 'BLOGMANAGEMENT',
|
||||||
'post' => 'BLOGMANAGEMENT',
|
'post' => 'BLOGMANAGEMENT',
|
||||||
|
@ -241,6 +241,7 @@ class BlogURL {
|
|||||||
|
|
||||||
class BlogTree_Controller extends Page_Controller {
|
class BlogTree_Controller extends Page_Controller {
|
||||||
static $allowed_actions = array(
|
static $allowed_actions = array(
|
||||||
|
'index',
|
||||||
'rss',
|
'rss',
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user