app/controllers/tramway/event/participants_controller.rb in tramway-event-1.9.19.1 vs app/controllers/tramway/event/participants_controller.rb in tramway-event-1.9.19.2

- old
+ new

@@ -1,4 +1,6 @@ +# frozen_string_literal: true + class Tramway::Event::ParticipantsController < Tramway::Event::ApplicationController def create event = ::Tramway::Event::Event.find params[:tramway_event_participant][:event_id] @participant_form = ::Tramway::Event::ParticipantExtendedFormCreator.create_form_class(request.uuid, event).new ::Tramway::Event::Participant.new event_id: event.id if @participant_form.submit params[:tramway_event_participant].except :event_id