app/models/phcscriptcdnpro/script/listing.rb in phcscriptcdnpro-5.2.2 vs app/models/phcscriptcdnpro/script/listing.rb in phcscriptcdnpro-5.2.3

- old
+ new

@@ -2,10 +2,10 @@ class Script::Listing < ApplicationRecord # Relationships # Attach to URL (Nested) - belongs_to :url, class_name: 'Phcscriptcdnpro::Script::Url' + has_many :urls, class_name: 'Phcscriptcdnpro::Script::Url' # Attach to Author (None Nested) belongs_to :author, class_name: 'Phcscriptcdnpro::Script::Author' # Attach to Version (None Nested)