app/components/avo/fields/common/files/controls_component.rb in avo-3.12.0 vs app/components/avo/fields/common/files/controls_component.rb in avo-3.13.0

- old
+ new

@@ -5,10 +5,10 @@ include Avo::Fields::Concerns::FileAuthorization delegate :id, to: :@field prop :field, Avo::Fields::BaseField - prop :file, ActiveStorage::Attachment + prop :file, _Any prop :resource, Avo::BaseResource def destroy_path Avo::Services::URIService.parse(@resource.record_path).append_paths("active_storage_attachments", id, @file.id).to_s end