config/initializers/tramway.rb in tramway-event-1.9.27.1 vs config/initializers/tramway.rb in tramway-event-1.9.27.2
- old
+ new
@@ -9,5 +9,9 @@
::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