app/models/tramway/event/participant.rb in tramway-event-1.12.9.1 vs app/models/tramway/event/participant.rb in tramway-event-2.0
- old
+ new
@@ -1,7 +1,7 @@
# frozen_string_literal: true
-class Tramway::Event::Participant < ::Tramway::Core::ApplicationRecord
+class Tramway::Event::Participant < ::Tramway::ApplicationRecord
belongs_to :event, class_name: 'Tramway::Event::Event'
aasm :participation_state, column: :participation_state do
state :requested, initial: true
state :prev_approved