lib/ecoportal/api/v2/page/sections.rb in ecoportal-api-v2-0.9.1 vs lib/ecoportal/api/v2/page/sections.rb in ecoportal-api-v2-0.9.2

- old
+ new

@@ -4,10 +4,11 @@ class Page class Sections < Common::Content::CollectionModel class_resolver :section_class, "Ecoportal::API::V2::Page::Section" self.klass = :section_class - + self.order_key = :weight + def ooze self._parent.ooze end # @return [Boolean] `true` if there is one or more sections shared, `false` otherwise