yiisoft/yii2 — pull request #1921 by creocoder (2014-01-12 01:47:01+00:00)
Title: Grid view ActionColumn now allow to name buttons like `{answer/index}`

For example:

```
$dataProvider,
'filterModel' => $searchModel,
'columns' => [
[
'class' => 'yii\grid\ActionColumn',
'template' => '{answer/index}',
'buttons' => [
'answer/index' => function ($url, $model) {
return Html::a('', $url, [
'title' => Yii::t('yii', 'Views answers'),
]);
},
],
],
'id',
'title',
'body:ntext',
'create_time:datetime',
'update_time:datetime',
['class' => 'yii\grid\ActionColumn'],
],
]); ?>
```