app/models/phcscriptcdn/script/url.rb in phcscriptcdn-3.0.0.pre.beta vs app/models/phcscriptcdn/script/url.rb in phcscriptcdn-3.0.0
- old
+ new
@@ -4,7 +4,13 @@
# Relationships
# Attach to Listings
belongs_to :listing, class_name: 'Phcscriptcdn::Script::Listing'
+ # Attach to Version
+ belongs_to :version, class_name: 'Phcscriptcdn::Script::Version'
+
+ # Attach to Extensions
+ belongs_to :extension, class_name: 'Phcscriptcdn::Script::Extension'
+
end
end