lib/generators/avo/templates/initializer/avo.tt in avo-3.0.0.pre11 vs lib/generators/avo/templates/initializer/avo.tt in avo-3.0.0.pre12
- old
+ new
@@ -49,10 +49,10 @@
# config.id_links_to_resource = false
# config.cache_resources_on_index_view = true
## permanent enable or disable cache_resource_filters, default value is false
# config.cache_resource_filters = false
## provide a lambda to enable or disable cache_resource_filters per user/resource.
- # config.cache_resource_filters = ->(current_user:, resource:) { current_user.cache_resource_filters?}
+ # config.cache_resource_filters = -> { current_user.cache_resource_filters? }
## == Customization ==
# config.app_name = 'Avocadelicious'
# config.timezone = 'UTC'
# config.currency = 'USD'