Sha256: a7f8ea2ed7fc86ab843d4dd7b9ae3530046166b5ecb232509ec98ecc959c5ea6

Contents?: true

Size: 640 Bytes

Versions: 8

Compression:

Stored size: 640 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.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

8 entries across 8 versions & 1 rubygems

Version Path
tramway-event-1.12.9.1 config/initializers/tramway.rb
tramway-event-1.12.9 config/initializers/tramway.rb
tramway-event-1.12.8.2 config/initializers/tramway.rb
tramway-event-1.12.8.1 config/initializers/tramway.rb
tramway-event-1.12.8 config/initializers/tramway.rb
tramway-event-1.12.7 config/initializers/tramway.rb
tramway-event-1.12.6.4 config/initializers/tramway.rb
tramway-event-1.12.6.3 config/initializers/tramway.rb