method

forced_disposition_for_serving

rails latest stable - Class: ActiveStorage::Blob

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v7.0.0) is shown here.

forced_disposition_for_serving()
public

No documentation available.

# 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