Commit 9ee36278 by Alexander Kochetov

\yii\grid\ActionColumn better phpDoc.

parent 98d4650f
...@@ -68,7 +68,7 @@ class ActionColumn extends Column ...@@ -68,7 +68,7 @@ class ActionColumn extends Column
* ```php * ```php
* [ * [
* 'update' => function ($url, $model, $key) { * 'update' => function ($url, $model, $key) {
* return $model->status === Post::STATUS_EDITABLE ? Html::a('Update', $url) : ''; * return $model->status === 'editable' ? Html::a('Update', $url) : '';
* }; * };
* ], * ],
* ``` * ```
......
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