diff options
Diffstat (limited to 'app/models/active_storage/variant.rb')
-rw-r--r-- | app/models/active_storage/variant.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/active_storage/variant.rb b/app/models/active_storage/variant.rb index 8785625cc8..d0fee3c62c 100644 --- a/app/models/active_storage/variant.rb +++ b/app/models/active_storage/variant.rb @@ -19,7 +19,7 @@ class ActiveStorage::Variant end def url(expires_in: 5.minutes, disposition: :inline) - service.url key, expires_in: expires_in, disposition: disposition, filename: blob.filename + service.url key, expires_in: expires_in, disposition: disposition, filename: blob.filename, content_type: blob.content_type end |