mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUGFIX: Added PageComments to ContentController::$allowed_actions so commenting works.
From: Andrew Short <andrewjshort@gmail.com> git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@89003 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
86c81bc6b4
commit
7277ada137
@ -26,6 +26,10 @@ class ContentController extends Controller {
|
||||
'widget/$ID/$Action' => 'handleWidget'
|
||||
);
|
||||
|
||||
public static $allowed_actions = array (
|
||||
'PageComments'
|
||||
);
|
||||
|
||||
/**
|
||||
* The ContentController will take the URLSegment parameter from the URL and use that to look
|
||||
* up a SiteTree record.
|
||||
|
Loading…
x
Reference in New Issue
Block a user