app/models/tramway/event/event.rb in tramway-event-1.0.1 vs app/models/tramway/event/event.rb in tramway-event-1.1
- old
+ new
@@ -1,6 +1,7 @@
class Tramway::Event::Event < ::Tramway::Event::ApplicationRecord
mount_uploader :photo, PhotoUploader
has_many :participants, class_name: 'Tramway::Event::Participant'
has_many :participant_form_fields, class_name: 'Tramway::Event::ParticipantFormField'
+ has_many :sections, class_name: 'Tramway::Event::Section'
end