Browse Source

Merge branch 'request-params-refactoring' of github.com:cebe/yii2 into cebe-request-params-refactoring

Conflicts:
	framework/CHANGELOG.md
tags/2.0.0-beta
Qiang Xue 11 years ago
parent
commit
761a3bc9b8
  1. 2
      Nav.php

2
Nav.php

@ -100,7 +100,7 @@ class Nav extends Widget
$this->route = Yii::$app->controller->getRoute(); $this->route = Yii::$app->controller->getRoute();
} }
if ($this->params === null) { if ($this->params === null) {
$this->params = $_GET; $this->params = Yii::$app->request->getQueryParams();
} }
Html::addCssClass($this->options, 'nav'); Html::addCssClass($this->options, 'nav');
} }

Loading…
Cancel
Save