fixed description in doc for this->hook->on to comply with new HookHelper args
This commit is contained in:
parent
d8b60ca0fa
commit
a72ef8cedc
|
|
@ -105,7 +105,7 @@ class Plugin extends Base
|
|||
{
|
||||
public function initialize()
|
||||
{
|
||||
$this->hook->on('template:layout:css', 'plugins/Css/skin.css');
|
||||
$this->hook->on('template:layout:css', array('template' => 'plugins/Css/skin.css'));
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in New Issue