app/models/phcscriptcdnpro/script/version.rb in phcscriptcdnpro-17.1.0 vs app/models/phcscriptcdnpro/script/version.rb in phcscriptcdnpro-18.0.0
- old
+ new
@@ -14,13 +14,13 @@
# Validation for Form Fields
validates :scriptversion,
presence: true
# Clean URL Define
- friendly_id :phcscriptcdn_version_slug, use: [:slugged, :finders]
+ friendly_id :phcscriptcdnpro_version_slug, use: [:slugged, :finders]
# Define for Multiple Records
- def phcscriptcdn_version_slug
+ def phcscriptcdnpro_version_slug
[
[:scriptversion]
]
end