[openstreetmap/openstreetmap-website] Replace 'remove this redaction' confirmation and request with Turbo (PR #5189)

Anton Khorev notifications at github.com
Wed Sep 11 14:47:56 UTC 2024


The existing `:method => "delete" ...` don't entirely work for some reason. The browser gets stuck on redirects after the request is done.

![image](https://github.com/user-attachments/assets/aa455e8b-6599-40a6-92d7-8f1181aa1b83)

You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5189

-- Commit Summary --

  * Replace 'remove this redaction' confirmation and request with Turbo

-- File Changes --

    M app/views/redactions/show.html.erb (2)
    A test/system/redaction_destroy_test.rb (33)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5189.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5189.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5189
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5189 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240911/bf639729/attachment.htm>


More information about the rails-dev mailing list