1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Keyword arguments is not a Hash

This commit is contained in:
Akira Matsuda 2019-09-06 07:44:15 +09:00
parent 0188b1c289
commit d9933a7f9f

View file

@ -80,8 +80,8 @@ module ActiveStorage
disposition: content_disposition,
content_type: content_type
},
{ expires_in: expires_in,
purpose: :blob_key }
expires_in: expires_in,
purpose: :blob_key
)
current_uri = URI.parse(current_host)
@ -109,8 +109,8 @@ module ActiveStorage
content_length: content_length,
checksum: checksum
},
{ expires_in: expires_in,
purpose: :blob_token }
expires_in: expires_in,
purpose: :blob_token
)
generated_url = url_helpers.update_rails_disk_service_url(verified_token_with_expiration, host: current_host)