Browse Source

correct the Example of comment

in the example,use Nav not Menu
tags/2.0.6
hobart.wang 9 years ago
parent
commit
9e79615cda
  1. 2
      NavBar.php

2
NavBar.php

@ -19,7 +19,7 @@ use yii\helpers\ArrayHelper;
* *
* ```php * ```php
* use yii\bootstrap\NavBar; * use yii\bootstrap\NavBar;
* use yii\widgets\Menu; * use yii\bootstrap\Nav;
* *
* NavBar::begin(['brandLabel' => 'NavBar Test']); * NavBar::begin(['brandLabel' => 'NavBar Test']);
* echo Nav::widget([ * echo Nav::widget([

Loading…
Cancel
Save