mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
Wildcard rules have been disallowed in 3.1
This commit is contained in:
parent
3a4a1dd4b4
commit
172f74f980
@ -259,10 +259,6 @@ class CommentableItem extends DataObject implements TestOnly {
|
|||||||
*/
|
*/
|
||||||
class CommentableItem_Controller extends Controller implements TestOnly {
|
class CommentableItem_Controller extends Controller implements TestOnly {
|
||||||
|
|
||||||
public static $allowed_actions = array(
|
|
||||||
"*" => true
|
|
||||||
);
|
|
||||||
|
|
||||||
public function index() {
|
public function index() {
|
||||||
return CommentableItem::get()->first()->CommentsForm();
|
return CommentableItem::get()->first()->CommentsForm();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user