app/models/phcmemberspro/directory/category.rb in phcmemberspro-20.5.0 vs app/models/phcmemberspro/directory/category.rb in phcmemberspro-20.5.1
- old
+ new
@@ -13,10 +13,10 @@
validates :catname,
length: { minimum: 3 }
# Clean URL Define
- friendly_id :phcmembers_category_slug, use: :slugged
+ friendly_id :phcmembers_category_slug, use: [:slugged, :finders]
# Define for Multiple Records
def phcmembers_category_slug
[
[:id, :catname]