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">
<?php
NavBar::begin([
'brandLabel' => 'My Company',
'brandLabel' => Yii::$app->name,
'brandUrl' => Yii::$app->homeUrl,
'options' => [
'class' => 'navbar-inverse navbar-fixed-top',