Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed Aug 25, 2017
1 parent 881cd97 commit a0df593
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/views/admin-user/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,14 @@
'filterModel' => $searchModel,
'adminController' => $controller,
'pjax' => $pjax,
'chooseCallback' => function($model)
{
return \yii\helpers\ArrayHelper::merge($model->toArray(), [
//'url' => $model->url,
'image' => $model->image ? $model->image->src : "",
'displayName' => $model->displayName
]);
},
'columns' => \yii\helpers\ArrayHelper::merge([

[
Expand Down

0 comments on commit a0df593

Please sign in to comment.