method

forced_disposition_for_serving

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: Blob
forced_disposition_for_serving() public

No documentation

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

Hide source
# File activestorage/app/models/active_storage/blob.rb, line 236
  def forced_disposition_for_serving # :nodoc:
    if forcibly_serve_as_binary? || !allowed_inline?
      :attachment
    end
  end
Register or log in to add new notes.