app/models/phcmemberspro/directory/category.rb in phcmemberspro-21.0.0 vs app/models/phcmemberspro/directory/category.rb in phcmemberspro-21.2.0
- old
+ new
@@ -17,12 +17,13 @@
# Clean URL Define
friendly_id :phcmembers_category_slug, use: [:slugged, :finders]
# Define for Multiple Records
def phcmembers_category_slug
- [
- [:catname, :id]
- ]
+ [
+ :catname,
+ [:catname, :id]
+ ]
end
end
end