app/forms/admin/tramway/event/participant_form.rb in tramway-event-1.12.9.1 vs app/forms/admin/tramway/event/participant_form.rb in tramway-event-2.0
- old
+ new
@@ -1,9 +1,9 @@
# frozen_string_literal: true
require 'securerandom'
-class Admin::Tramway::Event::ParticipantForm < ::Tramway::Core::ApplicationForm
+class Admin::Tramway::Event::ParticipantForm < ::Tramway::ApplicationForm
properties :comment
association :event
def self.new(object)
if object.event_id.present?