Skip to content

Commit

Permalink
Merge pull request #454 from connorshea/fix-ruby-27-deprecations
Browse files Browse the repository at this point in the history
Fix Ruby 2.7 deprecation in helper.rb
  • Loading branch information
rafaelfranca authored Dec 27, 2019
2 parents 5f75d41 + c454afd commit b0b380e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sprockets/rails/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ def find_debug_asset(path)

private
def find_asset(path, options = {})
@env[path, options]
@env[path, **options]
end

def precompiled?(path)
Expand Down

0 comments on commit b0b380e

Please sign in to comment.