mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 18:20:48 +01:00
feat: add slug to all tables
This commit is contained in:
@@ -25,11 +25,10 @@ class SkinChroma extends Model
|
||||
|
||||
public function sluggable(): array
|
||||
{
|
||||
$slug = $this->chroma_name.' '.$this->skin_name;
|
||||
|
||||
// chroma name + skin name
|
||||
return [
|
||||
'slug' => [
|
||||
'source' => $slug,
|
||||
'source' => ['chroma_name', 'skin_name'],
|
||||
],
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user