app/models/phcscriptcdnpro/script/url.rb in phcscriptcdnpro-11.1.1 vs app/models/phcscriptcdnpro/script/url.rb in phcscriptcdnpro-11.2.0
- old
+ new
@@ -2,10 +2,13 @@
class Script::Url < ApplicationRecord
# Clean URL Initialize
extend FriendlyId
- # Attach to Listings (Nested)
+ # Add Paper Trail
+ has_paper_trail
+
+ # Model Relationships
belongs_to :listing, class_name: 'Phcscriptcdnpro::Script::Listing'
# Attach to Version (None Nested)
belongs_to :version, class_name: 'Phcscriptcdnpro::Script::Version'