Sha256: 1900205cc8e60d4bafd16babc0828628b42b9b87ef86ccc788198f0456841b77
Contents?: true
Size: 516 Bytes
Versions: 9
Compression:
Stored size: 516 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: -> (current_user) do ::Tramway::Event::Participant.active.where(participation_state: :requested).send "#{current_user.role}_scope", current_user.id end
Version data entries
9 entries across 9 versions & 1 rubygems