viraj-khatavkar / easy-slug

A laravel package for creating slugs easily
18 stars 5 forks source link

Exclude current object's record from search when updating it #6

Open AurelDragut opened 6 years ago

AurelDragut commented 6 years ago

I saw that when updating different objects the slug was getting a '-2' when it was the only slug with that content, so i thought about this changes.