mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-29 12:49:06 +02:00
Merge branch '3.0' into 3.1
This commit is contained in:
commit
8278181b92
@ -42,7 +42,7 @@ Here is an example where we display a basic gridfield with the default settings:
|
||||
:::php
|
||||
class GridController extends Page_Controller {
|
||||
|
||||
private static $allowed_actions = array('index');
|
||||
private static $allowed_actions = array('index', 'AllPages');
|
||||
|
||||
public function index(SS_HTTPRequest $request) {
|
||||
$this->Content = $this->AllPages();
|
||||
|
Loading…
Reference in New Issue
Block a user