i wrote this:
<%= link_to "Destroy", article_url(article), data: { turbo_method: :delete, turbo_confirm: "Are you sure?"} %>
it generate proper link:
<a data-turbo-method="delete" data-turbo-confirm="Are you sure?" href="http://localhost:3000/articles/6">Destroy</a>
but rails somehow still redirect to show, not to delete controller I tried replace it by
<%= button_to 'delete', article_url(article), method: :delete,
form: {data: {turbo_confirm: "are you sure?"}} %>
its work, except confirmation does not appear. I think problem with turbo, when i generate project i used: rails new lenglish -c bootstrap. I specifically for this problem create temporary project that has only CRUD for article github: GitHub - kukla1989/tmp. Will be very appreciative for any help and pardon for my poor choice of words.