Skip to content

Commit

Permalink
template
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Bob committed Oct 18, 2023
1 parent 875fa28 commit a9741df
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/generators/avo/templates/initializer/avo.tt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ Avo.configure do |config|
# config.per_page_steps = [12, 24, 48, 72]
# config.via_per_page = 8
# config.id_links_to_resource = false

## == Cache options ==
## Provide a lambda to customize the cache store used by Avo.
## We compute the cache store by default, this is NOT the default, just an example.
# config.cache_store = -> {
# ActiveSupport::Cache.lookup_store(:solid_cache_store)
# }
# config.cache_resources_on_index_view = true
## permanent enable or disable cache_resource_filters, default value is false
# config.cache_resource_filters = false
Expand Down

0 comments on commit a9741df

Please sign in to comment.