Commit 203772709588230e86060dc779c777272c547b8e
1 parent
cfb19900
breadcrumbs in blog/view
Showing
1 changed file
with
4 additions
and
1 deletions
Show diff stats
frontend/views/object/view.php
@@ -16,7 +16,10 @@ | @@ -16,7 +16,10 @@ | ||
16 | 16 | ||
17 | $this->params['h1'] = $seo->h1; | 17 | $this->params['h1'] = $seo->h1; |
18 | 18 | ||
19 | - $this->params['breadcrumbs'][] = \Yii::t('app', 'menu-objects'); | 19 | + $this->params['breadcrumbs'][] = [ |
20 | + 'label' => \Yii::t('app', 'menu-objects'), | ||
21 | + 'url' => Url::toRoute(['object/index']), | ||
22 | + ]; | ||
20 | $this->params['breadcrumbs'][] = $this->params['h1']; | 23 | $this->params['breadcrumbs'][] = $this->params['h1']; |
21 | 24 | ||
22 | ?> | 25 | ?> |