Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/jbuilder_cache_multi/jbuilder_ext.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def _fragment_name_with_digest_fetch_multi(key, options)
if @context.respond_to?(:cache_fragment_name)
# Current compatibility, fragment_name_with_digest is private again and cache_fragment_name
# should be used instead.
@context.cache_fragment_name(key, options.slice(:skip_digest, :virtual_path))
@context.cache_fragment_name(key, **options.slice(:skip_digest, :virtual_path))
elsif @context.respond_to?(:fragment_name_with_digest)
# Backwards compatibility for period of time when fragment_name_with_digest was made public.
@context.fragment_name_with_digest(key)
Expand Down