[openstreetmap/openstreetmap-website] Load js controller modules only when needed (PR #7147)

Tom Hughes notifications at github.com
Tue Jun 23 17:50:46 UTC 2026


@tomhughes commented on this pull request.



> @@ -56,6 +56,10 @@
 
     return page;
   };
+};
+
+{

Is there any need to keep this code in a block? I'm not sure I see the purpose?

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

Message ID: <openstreetmap/openstreetmap-website/pull/7147/review/4555708421 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260623/d51ed935/attachment.htm>


More information about the rails-dev mailing list