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:
Andrew Short 2009-10-15 00:49:49 +00:00 committed by Sam Minnee
parent 86c81bc6b4
commit 7277ada137

View File

@ -25,7 +25,11 @@ class ContentController extends Controller {
static $url_handlers = array(
'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.