diff --git a/docs/en/reference/grid-field.md b/docs/en/reference/grid-field.md index 6d4aeb2ff..a3c0ac114 100644 --- a/docs/en/reference/grid-field.md +++ b/docs/en/reference/grid-field.md @@ -42,7 +42,7 @@ Here is an example where we display a basic gridfield with the default settings: :::php class GridController extends Page_Controller { - static $allowed_actions = array('index'); + static $allowed_actions = array('index', 'AllPages'); public function index(SS_HTTPRequest $request) { $this->Content = $this->AllPages(); @@ -263,4 +263,4 @@ A GridFieldComponent sets and gets data from the GridState. ## Related * [ModelAdmin: A UI driven by GridField](/reference/modeladmin) - * [Tutorial 5: Dataobject Relationship Management](/tutorials/5-dataobject-relationship-management) \ No newline at end of file + * [Tutorial 5: Dataobject Relationship Management](/tutorials/5-dataobject-relationship-management)