app/models/phcmembers/member/listing.rb in phcmembers-12.2.1 vs app/models/phcmembers/member/listing.rb in phcmembers-12.4.0
- old
+ new
@@ -3,10 +3,10 @@
# Clean URL Initialize
extend FriendlyId
# Add Paper Trail
- has_paper_trail :class_name => 'Phcmembers::VersionsListing'
+ has_paper_trail :class_name => 'Phcmembers::ListingVersions'
# Model Relationships
belongs_to :profile, class_name: 'Phcmembers::Member::Profile'
has_many :categorylistings, class_name: 'Phcmembers::Directory::Categorylisting', dependent: :destroy
has_many :categories, class_name: 'Phcmembers::Directory::Category', :through => :categorylistings