diff --git a/app/models/communication/website/agenda/event.rb b/app/models/communication/website/agenda/event.rb index d1f9e19fdc384df0e21d7c96a9540ac13500bba9..64d6f4c2393f1cd393e5a182e355755e5ebd02b1 100644 --- a/app/models/communication/website/agenda/event.rb +++ b/app/models/communication/website/agenda/event.rb @@ -128,4 +128,8 @@ class Communication::Website::Agenda::Event < ApplicationRecord return if from_day != to_day errors.add(:to_hour, :too_soon) if to_hour.present? && from_hour.present? && to_hour < from_hour end + + def explicit_blob_ids + super.concat [featured_image&.blob_id] + end end