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/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to