lib/hanami/slice_registrar.rb in hanami-2.0.0.beta3 vs lib/hanami/slice_registrar.rb in hanami-2.0.0.beta4

- old
+ new

@@ -73,9 +73,15 @@ def to_a slices.values end + def with_nested + to_a.flat_map { |slice| + [slice] + slice.slices.with_nested + } + end + private def root parent.root end