I’v got turbo disabled app wide:
import '@hotwired/turbo-rails' Turbo.session.drive = false
because I want to apply it gradually for now by adding ‘data-turbo’: true where necessary. All goes smooth except one thing. Despite adding ‘data-turbo’: true to link_to … method: :delete request is still processed as html not turbo-stream. I’v found it works as expected when I change it to button_to. Is there any way to use link though ?
I use @hotwired/turbo-rails": “^7.1.1”
ps: adding ‘data-turbo-method’: ‘DELETE’ also does not solve it Release v7.0.0-beta.6 · hotwired/turbo · GitHub