I just setup a new project with Jumpstart and the destroy links in the Administrate admin panel are not working for me. When I click the link, instead of DELETE request, it will do a GET request and takes me to the resource show page. I found an old issue in the gem repo that describes the behavior I'm seeing: https://github.com/thoughtbot/administrate/issues/1643
When I inspect the link in the browser I see data-method="delete" Screen Shot 2021-01-05 at 5.44.22 AM.png30.1 KB Anybody else having this issue?
Chris Oliver•
Sounds like Rails UJS isn't running in Administrate for some reason? I'd make sure your Javascript compiles and loads successfully I guess. We add Rails UJS, etc in the administrate.js pack.
Zack Strickland•
Thanks,
Chris Oliver
! The Hotwire updates fixed it!