You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm using Sluggable Behavior on my project, and I love it - but I have a question.
Upon adding to the database the slug gets generated automatically, but if editing a post, it doesn't. I.e. if I create a record, then go in to edit it, delete the text from the slug field, then save it, a new slug isn't generated.
Is there anyway that I can change this? I.e. if a slug exists when updating a record, leave it as it is, but if editing a record, upon deleting the slug, having a new one generated from the title.
I hope you know what I mean.
Thank you
The text was updated successfully, but these errors were encountered:
Hi, I'm using Sluggable Behavior on my project, and I love it - but I have a question.
Upon adding to the database the slug gets generated automatically, but if editing a post, it doesn't. I.e. if I create a record, then go in to edit it, delete the text from the slug field, then save it, a new slug isn't generated.
Is there anyway that I can change this? I.e. if a slug exists when updating a record, leave it as it is, but if editing a record, upon deleting the slug, having a new one generated from the title.
I hope you know what I mean.
Thank you
The text was updated successfully, but these errors were encountered: