some progress
This commit is contained in:
@@ -40,6 +40,8 @@ class GameList extends Model
|
||||
|
||||
public function games(): BelongsToMany
|
||||
{
|
||||
return $this->belongsToMany(Game::class)->withTimestamps();
|
||||
return $this->belongsToMany(Game::class)
|
||||
->with(['platforms'])
|
||||
->withTimestamps();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user