Module: Locomotive::Extensions::Page::Tree::PatchedTreeMethods
- Defined in:
- app/models/locomotive/extensions/page/tree.rb
Instance Method Summary collapse
Instance Method Details
#ancestors ⇒ Object
33 34 35 36 |
# File 'app/models/locomotive/extensions/page/tree.rb', line 33 def ancestors # https://github.com/benhutton/mongoid-tree/commit/acb6eb0440dc003cd8536cb8cc6ff4b16c9c9402 super.order_by(:depth.asc) end |