display all speakers in an event when highlighted
This commit is contained in:
parent
4c97dacf5c
commit
20ea622bd3
2 changed files with 12 additions and 12 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue