Skip to content

Commit 86fb891

Browse files
committed
Use resolve
1 parent 8ef04ff commit 86fb891

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/sprockets/rails/context.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def self.included(klass)
1515

1616
def compute_asset_path(path, options = {})
1717
begin
18-
asset_uri = locate(path)
18+
asset_uri = resolve(path, compat: false)
1919
rescue FileNotFound
2020
# TODO: eh, we should be able to use a form of locate that returns
2121
# nil instead of raising an exception.

0 commit comments

Comments
 (0)