lib/sprockets/base.rb in sprockets-4.0.0 vs lib/sprockets/base.rb in sprockets-4.0.1
- old
+ new
@@ -113,11 +113,11 @@
# Preferred `find_asset` shorthand.
#
# environment['application.js']
#
- def [](*args)
- find_asset(*args)
+ def [](*args, **options)
+ find_asset(*args, **options)
end
# Find asset by logical path or expanded path.
#
# If the asset is not found an error will be raised.