Skip to content
Snippets Groups Projects
Commit d1669ffe authored by Arnaud Levy's avatar Arnaud Levy
Browse files

fix

parent 207ae978
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment