As seen in #6848 and in https://github.com/openstreetmap/openstreetmap-website/pull/6565#discussion_r2564737305, the mapping from Sprockets' Manifest is only available if there is a manifest, which isn't the case without precompiled assets.
Since the test also passed on an empty hash, this slipped through the cracks. You can view, comment on, or merge this pull request online at: https://github.com/openstreetmap/openstreetmap-website/pull/6856 -- Commit Summary -- * Make AssetHelper work without precompiled assets -- File Changes -- M app/helpers/asset_helper.rb (16) M test/helpers/asset_helper_test.rb (4) -- Patch Links -- https://github.com/openstreetmap/openstreetmap-website/pull/6856.patch https://github.com/openstreetmap/openstreetmap-website/pull/6856.diff -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/6856 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
