method

content_disposition_with

Importance_0
v6.1.3.1 - 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 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
Register or log in to add new notes.