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
commit ab9ecd6bfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

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