[openstreetmap/openstreetmap-website] Simplify AssetHelper logic paths (PR #6863)

Marwin Hochfelsner notifications at github.com
Thu Mar 5 08:28:38 UTC 2026


As Tom pointed out in https://github.com/openstreetmap/openstreetmap-website/pull/6856#discussion_r2886028755, the check for the Sprockets Environment is unnecessary.
This means the fallback getter can be integrated better into the logic.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Simplify AssetHelper logic paths

-- File Changes --

    M app/helpers/asset_helper.rb (22)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list