lib/ecoportal/api/v2/page/component/files_field.rb in ecoportal-api-oozes-0.5.5 vs lib/ecoportal/api/v2/page/component/files_field.rb in ecoportal-api-oozes-0.5.6
- old
+ new
@@ -2,11 +2,11 @@
module API
class V2
class Page
class Component
class FilesField < Page::Component
- class_resolver :file_class, "Ecoportal::API::V2::Page::File"
- embeds_multiple :items, klass: :file_class, order_key: :position
+ #class_resolver :file_class, "Ecoportal::API::V2::Page::File"
+ embeds_multiple :items, klass: "Ecoportal::API::V2::Page::File", order_key: :position
end
end
end
end
end