Merge pull request #345 from shikorism/fix/334-okazu-with-likes

/user/{name}/okazu にもいいねしたユーザーのアイコンを表示する
This commit is contained in:
shibafu
2020-05-14 01:26:55 +09:00
committed by GitHub

View File

@@ -165,6 +165,7 @@ SQL
} }
$ejaculations = $query->orderBy('ejaculated_date', 'desc') $ejaculations = $query->orderBy('ejaculated_date', 'desc')
->with('tags') ->with('tags')
->withLikes()
->paginate(20); ->paginate(20);
return view('user.profile')->with(compact('user', 'ejaculations')); return view('user.profile')->with(compact('user', 'ejaculations'));