Skip to content

Commit

Permalink
Add indifferent access to default options in encoded_image (AlchemyCM…
Browse files Browse the repository at this point in the history
  • Loading branch information
mickenorlen authored May 25, 2020
1 parent fe36e20 commit 84ac809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/alchemy/picture/url.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def encoded_image(image, options = {})

options = {
flatten: target_format != "gif" && image_file_format == "gif",
}.merge(options)
}.with_indifferent_access.merge(options)

encoding_options = []

Expand Down

0 comments on commit 84ac809

Please sign in to comment.