Commit 6314135e by Alexander Makarov

Fixed typo

parent ba6d887b
...@@ -333,7 +333,7 @@ By default layout is loaded from `views/layouts/main.php`. You may change it at ...@@ -333,7 +333,7 @@ By default layout is loaded from `views/layouts/main.php`. You may change it at
different value to `layout` propery. different value to `layout` propery.
In order to pass data from controller to layout, that you may need for breadcrumbs or similar elements, use view component In order to pass data from controller to layout, that you may need for breadcrumbs or similar elements, use view component
data property. In controller it can be set as: params property. In controller it can be set as:
```php ```php
$this->view->params['breadcrumbs'][] = 'Contact'; $this->view->params['breadcrumbs'][] = 'Contact';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment