app/helpers/katalyst/navigation/editor/item.rb in katalyst-navigation-1.0.3 vs app/helpers/katalyst/navigation/editor/item.rb in katalyst-navigation-1.1.0

- old
+ new

@@ -6,10 +6,10 @@ class Item < Base attr_accessor :item def build(item, **options, &block) self.item = item - content_tag(:div, default_options(id: dom_id(item), **options)) do + tag.div **default_options(id: dom_id(item), **options) do concat(capture { yield self }) if block concat fields(item) end end