diff --git a/docs/en/02_Developer_Guides/02_Controllers/03_Access_Control.md b/docs/en/02_Developer_Guides/02_Controllers/03_Access_Control.md index e8bb04e6a..f5ce5fc61 100644 --- a/docs/en/02_Developer_Guides/02_Controllers/03_Access_Control.md +++ b/docs/en/02_Developer_Guides/02_Controllers/03_Access_Control.md @@ -30,7 +30,7 @@ directly calling methods that they shouldn't. 'cmsrestrictedaction' => 'CMS_ACCESS_CMSMain', // complexaction can only be accessed if $this->canComplexAction() returns true. - 'complexaction' '->canComplexAction' + 'complexaction' => '->canComplexAction', // complexactioncheck can only be accessed if $this->canComplexAction("MyRestrictedAction", false, 42) is true. 'complexactioncheck' => '->canComplexAction("MyRestrictedAction", false, 42)', @@ -200,4 +200,4 @@ execution. This behavior can be used to implement permission checks. ## API Documentation -* [api:Controller] \ No newline at end of file +* [api:Controller]