method

forced_disposition_for_service_url

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 (v6.0.0) is shown here.

forced_disposition_for_service_url()
private

No documentation available.

# File activestorage/app/models/active_storage/blob.rb, line 261
    def forced_disposition_for_service_url
      if forcibly_serve_as_binary? || !allowed_inline?
        :attachment
      end
    end