Used application name instead of string literal in the navbar
This commit is contained in:
parent
c49a8554e8
commit
0c87fab0c3
@ -29,7 +29,7 @@ AppAsset::register($this);
|
|||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php
|
<?php
|
||||||
NavBar::begin([
|
NavBar::begin([
|
||||||
'brandLabel' => 'My Company',
|
'brandLabel' => Yii::$app->name,
|
||||||
'brandUrl' => Yii::$app->homeUrl,
|
'brandUrl' => Yii::$app->homeUrl,
|
||||||
'options' => [
|
'options' => [
|
||||||
'class' => 'navbar-inverse navbar-fixed-top',
|
'class' => 'navbar-inverse navbar-fixed-top',
|
||||||
|
Loading…
Reference in New Issue
Block a user