Commit 9e79615c authored by hobart.wang's avatar hobart.wang

correct the Example of comment

in the example,use Nav not Menu
parent d841fe6f
...@@ -19,7 +19,7 @@ use yii\helpers\ArrayHelper; ...@@ -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([
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment