@@ -28,6 +28,7 @@ class DetailTransformer extends TransformerAbstract
'topic' => $post->topic(),
'title' => $post['title'],
'content' => $post['content'],
+ 'type' => $post['type'],
'img' => $post['img'],
'video' => $post['video'],
'imgs' => $imgs,