Revision #10 has been created by stinkytofu on Nov 20, 2015, 11:26:54 AM with the memo:
Made explanation more clear
« previous (#9)
Changes
Title
unchanged
How to use a Widget as an Action Provider
Category
unchanged
How-tos
Yii version
unchanged
Tags
unchanged
Widgets, CAction
Content
changed
[...]
);
}
```
##Access Rules
Also, if you have implemented the accessRules method inside the controller,
then you'll need to make sure that you _allow_ th
ate action
provider in the accessRules method, otherwise you will receive 404 error
. So, s when trying to view the page. Something like this will do the trick:
```php
public function accessRules()
{[...]