X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b8f5a495f21b8d3572ed6184121d845b9ed1ec4c..84681ff8683bb7c8f410b2dc13ca5b8695e413a4:/app/views/redactions/show.html.erb?ds=sidebyside diff --git a/app/views/redactions/show.html.erb b/app/views/redactions/show.html.erb index 5b9749a51..fe073d123 100644 --- a/app/views/redactions/show.html.erb +++ b/app/views/redactions/show.html.erb @@ -18,7 +18,7 @@ <%= link_to t(".edit"), edit_redaction_path(@redaction), :class => "btn btn-outline-primary" %> <% end %> <% if can?(:destroy, Redaction) %> - <%= link_to t(".destroy"), @redaction, :method => "delete", :class => "btn btn-outline-danger", :remote => true, :data => { :confirm => t(".confirm") } %> + <%= link_to t(".destroy"), @redaction, :class => "btn btn-outline-danger", :data => { :turbo => true, :turbo_method => "DELETE", :turbo_confirm => t(".confirm") } %> <% end %> <% end %>