lib/avo/base_resource.rb in avo-3.3.3 vs lib/avo/base_resource.rb in avo-3.3.4

- old
+ new

@@ -285,11 +285,18 @@ end fields end - def fields - # blank fields method + def fetch_cards + cards + end + + # def fields / def cards + [:fields, :cards].each do |method_name| + define_method method_name do + # Empty method + end end [:action, :filter, :scope].each do |entity| plural_entity = entity.to_s.pluralize