[openstreetmap/openstreetmap-website] Lookup friend user before make/remove friend action (PR #4193)

Anton Khorev notifications at github.com
Mon Aug 21 01:31:41 UTC 2023


custom lookup to use with `before_action`, similar to

https://github.com/openstreetmap/openstreetmap-website/blob/7054cea48ee9728c155334b48777a5f25db89af8/app/controllers/user_blocks_controller.rb#L114
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Lookup friend user before make/remove friend action

-- File Changes --

    M app/controllers/friendships_controller.rb (74)
    M app/views/friendships/make_friend.html.erb (2)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list