lib/propshaft/resolver/dynamic.rb in propshaft-0.2.0 vs lib/propshaft/resolver/dynamic.rb in propshaft-0.2.1
- old
+ new
@@ -7,9 +7,11 @@
end
def resolve(logical_path)
if asset = load_path.find(logical_path)
File.join prefix, asset.digested_path
+ else
+ raise Propshaft::MissingAssetError.new(logical_path)
end
end
end
end