Closed bogdanrn closed 8 years ago
I want to make the updateSlug to be conditional based on the doc that is updated.
Products.friendlySlugs({ slugFrom: 'title', slugField: 'slug', distinct: true, updateSlug: function(doc){ return (doc.published != true); }, });
I made a pull requrest here #31
Merged #31 and released with 0.5.0
I want to make the updateSlug to be conditional based on the doc that is updated.