@@ -396,10 +396,12 @@ class PostRepositories
*/
public function detail($id)
{
- return $this->post
+ $row = $this->post
->join('post_data', 'post_data.post_id', '=', 'post.id')
->select('post.*')
->find($id);
+ Log::debug($this->post->toSql());
+ return $row;
}
/**