Sha256: 196e9ea3fae4ba5b2832c6362ca45043b3390eca409a21b9fc2f619bc23e0b04
Contents?: true
Size: 619 Bytes
Versions: 15
Compression:
Stored size: 619 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 } ::Tramway::Landing.head_content = lambda do javascript_include_tag 'tramway/event/application' end
Version data entries
15 entries across 15 versions & 1 rubygems