Commit a7733fc7 authored by Shakarim Sapa's avatar Shakarim Sapa

- Вывели заголовок поста

parent 0e0a393f
...@@ -19,7 +19,7 @@ use yii\grid\GridView; ...@@ -19,7 +19,7 @@ use yii\grid\GridView;
[ [
'attribute' => 'post_id', 'attribute' => 'post_id',
'value' => function($model) { 'value' => function($model) {
return $model->post->url; return $model->post->lang->title;
} }
], ],
[ [
......
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