Skip to content

Commit 4d6805e

Browse files
authored
Merge pull request #614 from felixbuenemann/fix-broken-links-expansion
Fix broken expansion of asset link paths
2 parents 15338e0 + 872b4b2 commit 4d6805e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/sprockets/loader.rb

+1
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ def asset_from_cache(key)
115115
asset[:load_path] = expand_from_root(asset[:load_path])
116116
asset[:filename] = expand_from_root(asset[:filename])
117117
expand_key_from_hash(asset[:metadata], :included)
118+
expand_key_from_hash(asset[:metadata], :links)
118119
expand_key_from_hash(asset[:metadata], :stubbed)
119120
expand_key_from_hash(asset[:metadata], :required)
120121
expand_key_from_hash(asset[:metadata], :to_load)

0 commit comments

Comments
 (0)