We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ef04ff commit 86fb891Copy full SHA for 86fb891
lib/sprockets/rails/context.rb
@@ -15,7 +15,7 @@ def self.included(klass)
15
16
def compute_asset_path(path, options = {})
17
begin
18
- asset_uri = locate(path)
+ asset_uri = resolve(path, compat: false)
19
rescue FileNotFound
20
# TODO: eh, we should be able to use a form of locate that returns
21
# nil instead of raising an exception.
0 commit comments