Skip to content

Commit b0b380e

Browse files
authored
Merge pull request #454 from connorshea/fix-ruby-27-deprecations
Fix Ruby 2.7 deprecation in helper.rb
2 parents 5f75d41 + c454afd commit b0b380e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/sprockets/rails/helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ def find_debug_asset(path)
353353

354354
private
355355
def find_asset(path, options = {})
356-
@env[path, options]
356+
@env[path, **options]
357357
end
358358

359359
def precompiled?(path)

0 commit comments

Comments
 (0)