display all speakers in an event when highlighted

This commit is contained in:
Michael Ball 2020-12-10 23:27:16 -08:00
parent 4c97dacf5c
commit 20ea622bd3
2 changed files with 12 additions and 12 deletions

View file

@ -51,7 +51,7 @@ class Conference < ApplicationRecord
has_many :highlighted_events,
-> { where(state: :confirmed, is_highlight: true) },
through: :program,
source: :events
source: :events
has_many :event_types, through: :program
has_many :surveys, as: :surveyable, dependent: :destroy do