helpers/widget: options are opional
This commit is contained in:
parent
dbf03ee647
commit
617741c62f
|
@ -9,7 +9,7 @@ $this->addHelperFunction('auth', function () {
|
|||
return Manager::getInstance();
|
||||
});
|
||||
|
||||
$this->addHelperFunction('widget', function ($name, $options) {
|
||||
$this->addHelperFunction('widget', function ($name, $options = null) {
|
||||
return Widget::create($name, $options);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue