[openstreetmap/openstreetmap-website] Deduplicate trace image handling (PR #6962)
Pablo Brasero
notifications at github.com
Tue Apr 7 11:28:33 UTC 2026
pablobm left a comment (openstreetmap/openstreetmap-website#6962)
That's probably slightly better, but I meant the having to build the helper name with `"trace_#{image}_#{absolute ? 'url' : 'path'}"`. Ideally there should be a route helper that took an `absolute: true` or something like that, instead of having to choose between two separate helpers. I don't think there's one unfortunately.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6962#issuecomment-4198619177
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6962/c4198619177 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260407/b210d9a6/attachment.htm>
More information about the rails-dev
mailing list