feat: champ info start

This commit is contained in:
Rico van Zelst
2023-11-08 10:39:52 +01:00
parent cabb5414ae
commit 38247c71d9
6 changed files with 139 additions and 1 deletions

View File

@@ -42,6 +42,11 @@ class Champion extends Model
];
}
public function getRouteKeyName(): string
{
return 'slug';
}
public function skins(): HasMany
{
return $this->hasMany(ChampionSkin::class);