Sha256: bc65fc561158d351217d8963757d02c6e90fc5fc0bef386a436939dd988b3a7e
Contents?: true
Size: 647 Bytes
Versions: 34
Compression:
Stored size: 647 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, ::Tramway::Event::Action, 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
34 entries across 34 versions & 1 rubygems