mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 18:20:48 +01:00
fix: optimize home images
This commit is contained in:
@@ -49,6 +49,11 @@ class ChampionSkin extends Model
|
||||
];
|
||||
}
|
||||
|
||||
public function getRouteKeyName(): string
|
||||
{
|
||||
return 'slug';
|
||||
}
|
||||
|
||||
public function getRarityAttribute($value)
|
||||
{
|
||||
return $value === null || $value === 'NoRarity' ? 'Common' : $value;
|
||||
|
||||
Reference in New Issue
Block a user