This commit is contained in:
Doar Mihai
2026-05-30 18:56:17 +03:00
parent 17a2211952
commit afc49488a9
5 changed files with 93 additions and 33 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ class GameController extends Controller
if (auth()->check()) {
$userGame = $game->userGames()->where('user_id', auth()->id())->first();
$userReview = $game->reviews()->where('user_id', auth()->id())->first();
$userLists = auth()->user()->lists()->get(['id', 'title']);
$userLists = auth()->user()->lists()->get(['id', 'slug', 'title']);
}
$comments = $game->comments()->whereNull('parent_id')