lib/generators/avo/templates/initializer/avo.tt in avo-3.4.1 vs lib/generators/avo/templates/initializer/avo.tt in avo-3.4.2

- old
+ new

@@ -16,12 +16,13 @@ ## == Licensing == # config.license_key = ENV['AVO_LICENSE_KEY'] ## == Set the context == config.set_context do - # Return a context object that gets evaluated in Avo::ApplicationController + # Return a context object that gets evaluated within Avo::ApplicationController end + # config.extend_controllers_with = [] ## == Authentication == # config.current_user_method = {} # config.authenticate_with do # end @@ -36,11 +37,11 @@ # create: 'create?', # destroy: 'destroy?', # search: 'search?', # } # config.raise_error_on_missing_policy = false - # config.authorization_client = :pundit + config.authorization_client = nil ## == Localization == # config.locale = 'en-US' ## == Resource options == @@ -61,9 +62,16 @@ # 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.cache_resource_filters? } + + ## == Turbo options == + # config.turbo = -> do + # { + # instantclick: true + # } + # end ## == Logger == # config.logger = -> { # file_logger = ActiveSupport::Logger.new(Rails.root.join("log", "avo.log")) #