method

content_disposition_with

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: Service
content_disposition_with(type: "inline", filename:) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activestorage/lib/active_storage/service.rb, line 175
      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
Register or log in to add new notes.