Used application name instead of string literal in the navbar

This commit is contained in:
MaximAL 2017-09-21 19:01:41 +03:00 committed by Alexander Makarov
parent c49a8554e8
commit 0c87fab0c3

View File

@ -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',