lib/avo/base_resource.rb in avo-3.8.1 vs lib/avo/base_resource.rb in avo-3.8.2
- old
+ new
@@ -283,11 +283,11 @@
def fetch_cards
cards
end
- def divider
- action DividerComponent
+ def divider(label = nil)
+ entity_loader(:action).use({class: Divider, label: label}.compact)
end
# def fields / def cards
[:fields, :cards].each do |method_name|
define_method method_name do