lib/actv/asset.rb in actv-1.3.5 vs lib/actv/asset.rb in actv-1.3.6

- old
+ new

@@ -244,11 +244,11 @@ def activenet? self.sourceSystem[:legacyGuid].upcase == "FB27C928-54DB-4ECD-B42F-482FC3C8681F" rescue false end def kids? - kids_friendly_source_system? && kids_interest? + kids_interest? end def registration_status @registration_status ||= nil end @@ -389,17 +389,13 @@ else "" end end -private +private def kids_interest? interests = meta_interests.to_a.map(&:downcase) - ['kids', 'family'].any? { |tag| interests.include? tag } - end - - def kids_friendly_source_system? - activenet? || awcamps? || awcamps30? || articles_source? + ['kids', 'family'].any? { |tag| interests.include? tag } end def articles_source? # this guid is equal to the Active.com Articles self.sourceSystem.fetch(:legacyGuid, "").upcase == "CA4EA0B1-7377-470D-B20D-BF6BEA23F040"