Slug update doesn't work #243
kskrlinnorth2
started this conversation in
General
Replies: 1 comment 2 replies
-
Looks like only slugs generated via callable are getting updated... which is never mentioned in docs... But this also updates slug for all languages, even those which have no name in DB...
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
According to documentation and this section https://github.com/spatie/laravel-sluggable#prevent-slug-updates slug updates are included by default. However that doesn't work at all. Also calling generateSlug() on model to recreate slug does nothing...
So how to update slugs?
This is my code:
Beta Was this translation helpful? Give feedback.
All reactions