method

content_disposition_with

content_disposition_with(type: "inline", filename:)
private

No documentation available.

# File activestorage/lib/active_storage/service.rb, line 165
      def content_disposition_with(type: "inline", filename))
        disposition = (type.to_s.presence_in(%( attachment inline )) || "inline")
        ActionDispatch::Http::ContentDisposition.format(disposition: disposition, filename: filename.sanitized)
      end