Installing jquery in rails 7 breaks turbo

59 Views Asked by At

I have a rails 7 app with turbo-rails 1.1.1. In my app "turbo-method": :delete works as expected for my logout delete route.

After installing jquery 0.0.1 through bundle add and adding import "./add_jquery"; to my application.js I get a route error for /logout.

No route matches [GET] "/logout" 

It appears that jquery breaks turbo in rails 7.

Any suggestions on how to set this up properly?

0

There are 0 best solutions below