config/initializers/tramway.rb in tramway-event-1.9.20.1 vs config/initializers/tramway.rb in tramway-event-1.9.21
- old
+ new
@@ -6,5 +6,6 @@
::Tramway::Event::Section,
::Tramway::Event::Person,
::Tramway::Event::Partaking,
::Tramway::Event::Place,
project: :event)
+::Tramway::Admin.set_notificable_queries new_participants: -> { ::Tramway::Event::Participant.where(participation_state: :requested) }