Skip to content

Commit

Permalink
Merge branch 'revert-154-revert-147-rails7' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
jbirdjavi committed Jan 3, 2024
2 parents f94cc0d + 945eacf commit 990ffdf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@

get "monitors/lb"
get "/login/new", to: "login#new"
get "/assets/campaign-form.js", to: redirect("campaign-form.mjs")
get "/packs/campaign.js", to: redirect("campaign-form.mjs")
get "/assets/campaign-form.js", to: redirect("campaign-form.js")
get "/packs/campaign.js", to: redirect("campaign-form.js")
end
2 changes: 0 additions & 2 deletions public/campaign-form.mjs → public/campaign-form.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import "jquery"

// Only initialize campaign-forms JS if it hasn't loaded previously.
if (typeof window.campaignForms === 'undefined') {

Expand Down

0 comments on commit 990ffdf

Please sign in to comment.