#278

Hi, please don’t forget to set onUpdate to true on the User Model as follows:

public function sluggable(): array
{
return [
‘slug’ => [
‘source’ => ‘name’,
‘onUpdate’ => true
]
];
}

Please check on the documentation why Sluggable won’t generate an updated slug automatically

https://github.com/cviebrock/eloquent-sluggable#onupdate

“By default, updating a model will not try and generate a new slug value. It is assumed that once your slug is generated, you won’t want it to change (this may be especially true if you are using slugs for URLs and don’t want to mess up your SEO mojo).”