app/models/phcmembers/directory/category.rb in phcmembers-12.2.1 vs app/models/phcmembers/directory/category.rb in phcmembers-12.4.0
- old
+ new
@@ -3,10 +3,10 @@
# Clean URL Initialize
extend FriendlyId
# Paper_tail Initialize
- has_paper_trail :class_name => 'Phcmembers::VersionsCategory'
+ has_paper_trail :class_name => 'Phcmembers::CategoryVersions'
# Relationships
has_many :categorylistings, class_name: 'Phcmembers::Directory::Categorylisting', dependent: :destroy
has_many :listings, class_name: 'Phcmembers::Member::Listing', :through => :categorylistings