[openstreetmap/openstreetmap-website] Fix friendships limit flash message (PR #5204)

Anton Khorev notifications at github.com
Thu Sep 12 12:44:53 UTC 2024


If you try to add too many friends, you're supposed to see this message:
![image](https://github.com/user-attachments/assets/5b1e0b91-a372-4611-8a36-7f6d2b8b2e77)

But you won't see it because of `flash.now` followed by a redirect.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Fix friendships limit flash message

-- File Changes --

    M app/controllers/friendships_controller.rb (2)
    A test/system/friendships_test.rb (18)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list