Add track type to admin dashboard

This commit is contained in:
Rishabh Singh 2019-06-22 19:23:40 +05:30
parent 770a63e15c
commit abc59bb3d7
18 changed files with 252 additions and 2 deletions

View file

@ -52,6 +52,7 @@ class Conference < ApplicationRecord
through: :program,
source: :events
has_many :event_types, through: :program
has_many :track_types, through: :program
has_many :surveys, as: :surveyable, dependent: :destroy do
def for_registration