[openstreetmap/openstreetmap-website] Lazy loading relation members (PR #6326)

mmd notifications at github.com
Sat Aug 16 05:35:03 UTC 2025


@mmd-osm commented on this pull request.



> +    can :read, RelationMember
+    can :read, OldRelationMember

Not necessarily. The two new controllers can handle any number of members. It’s only up to app/views/browse/_relation.html.erb decide when to use them. This could be changed without touching the controllers.

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

Message ID: <openstreetmap/openstreetmap-website/pull/6326/review/3125676405 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250815/ed9d7975/attachment.htm>


More information about the rails-dev mailing list