app/models/active_storage/variant.rb in activestorage-6.1.3.2 vs app/models/active_storage/variant.rb in activestorage-6.1.4
- old
+ new
@@ -87,10 +87,10 @@
def download(&block)
service.download key, &block
end
def filename
- ActiveStorage::Filename.new "#{blob.filename.base}.#{variation.format}"
+ ActiveStorage::Filename.new "#{blob.filename.base}.#{variation.format.downcase}"
end
alias_method :content_type_for_serving, :content_type
def forced_disposition_for_serving #:nodoc: