From b4bee577ce6d355eaba1b9457a376004b3b521eb Mon Sep 17 00:00:00 2001 From: aaronskiba Date: Thu, 18 Jul 2024 15:05:49 -0600 Subject: [PATCH] test --- .github/workflows/postgres.yml | 2 +- app/javascript/application.js | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/postgres.yml b/.github/workflows/postgres.yml index c1ee0d8cc8..7cbc8f93df 100644 --- a/.github/workflows/postgres.yml +++ b/.github/workflows/postgres.yml @@ -1,6 +1,6 @@ name: Tests - PostgreSQL -on: [pull_request] +on: [pull_request, push] jobs: postgresql: diff --git a/app/javascript/application.js b/app/javascript/application.js index ccad6aa6a5..4df7f76917 100644 --- a/app/javascript/application.js +++ b/app/javascript/application.js @@ -81,10 +81,11 @@ import './src/superAdmin/notifications/edit'; import './src/superAdmin/themes/newEdit'; import './src/superAdmin/users/edit'; -// Since we're using Webpacker to manage JS we need to startup Rails' Unobtrusive JS -// and Turbo. ActiveStorage and ActionCable would also need to be in here -// if we decide to implement either before Rails 6 -require('@rails/ujs').start(); +// We need to startup Rails' Unobtrusive JS and Turbo. +// ActiveStorage and ActionCable would also need +// to be in here if we decide to implement either. +import Rails from "@rails/ujs"; +Rails.start(); // TODO: Disabled turbo for the time being because our custom JS is not // properly setup to work with it. We should review the docs: