Commit 5c4ad45f by Qiang Xue

Fixes #783.

parent 30d3e874
...@@ -53,7 +53,7 @@ use yii\helpers\Inflector; ...@@ -53,7 +53,7 @@ use yii\helpers\Inflector;
* *
* ~~~ * ~~~
* // display links leading to sort actions * // display links leading to sort actions
* echo $sort->link('name', 'Name') . ' | ' . $sort->link('age', 'Age'); * echo $sort->link('name') . ' | ' . $sort->link('age');
* *
* foreach ($models as $model) { * foreach ($models as $model) {
* // display $model here * // display $model here
......
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