lib/avo/base_resource.rb in avo-1.1.0 vs lib/avo/base_resource.rb in avo-1.2.2
- old
+ new
@@ -19,9 +19,10 @@
class_attribute :devise_password_optional, default: false
class_attribute :actions_loader
class_attribute :filters_loader
class_attribute :fields
class_attribute :grid_loader
+ class_attribute :visible_on_sidebar, default: true
class << self
def grid(&block)
grid_collector = GridCollector.new
grid_collector.instance_eval(&block)