Include code of conduct on conference
This commit is contained in:
parent
217ec1a46f
commit
95196c7f80
5 changed files with 47 additions and 1 deletions
|
|
@ -11,6 +11,7 @@ class Conference < ApplicationRecord
|
|||
scope :past, (-> { where('end_date < ?', Date.current) })
|
||||
|
||||
belongs_to :organization
|
||||
delegate :code_of_conduct, to: :organization
|
||||
|
||||
has_paper_trail ignore: %i(updated_at guid revision events_per_week), meta: { conference_id: :id }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue