app/models/phcscriptcdnpro/script/author.rb in phcscriptcdnpro-8.0.3 vs app/models/phcscriptcdnpro/script/author.rb in phcscriptcdnpro-8.0.4

- old
+ new

@@ -6,9 +6,14 @@ # Listing (None Nested) has_many :listings, class_name: 'Phcscriptcdnpro::Script::Listing' # Clean URL Define - friendly_id :authorfirstname, use: :slugged + friendly_id :authorfullname, use: :slugged + + # Define for Multiple Records + def authorfullname + "#{:authorfirstname} #{:authorlastname}" + end end end