Sha256: 59c159c3ba1c04989d2092098139c9f0b9a67f5967e6ffcc1008280394079702
Contents?: true
Size: 517 Bytes
Versions: 2
Compression:
Stored size: 517 Bytes
Contents
# frozen_string_literal: true ::Tramway::Admin.set_available_models(::Tramway::Event::Event, ::Tramway::Event::ParticipantFormField, ::Tramway::Event::Participant, ::Tramway::Event::Section, ::Tramway::Event::Person, ::Tramway::Event::Partaking, ::Tramway::Event::Place, project: :event) ::Tramway::Admin.set_notificable_queries new_participants: lambda { |current_user| ::Tramway::Event::Participant.active.where(participation_state: :requested).send "#{current_user.role}_scope", current_user.id }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tramway-event-1.9.27.1 | config/initializers/tramway.rb |
tramway-event-1.9.27 | config/initializers/tramway.rb |