lib/avo/base_resource.rb in avo-2.34.5 vs lib/avo/base_resource.rb in avo-2.34.6
- old
+ new
@@ -299,10 +299,10 @@
view_types << :map if map_view.present?
view_types
end
- def attached_file_fields
+ def attachment_fields
get_field_definitions.select do |field|
[Avo::Fields::FileField, Avo::Fields::FilesField].include? field.class
end
end