# For more information regarding these settings check out our docs https://docs.avohq.io Avo.configure do |config| ## == Routing == config.root_path = '/<%= options[:path] %>' # Where should the user be redirected when visting the `/<%= options[:path] %>` url # config.home_path = nil ## == Licensing == config.license = 'community' # change this to 'pro' when you add the license key # config.license_key = ENV['AVO_LICENSE_KEY'] ## == Set the context == config.set_context do # Return a context object that gets evaluated in Avo::ApplicationController end ## == Authentication == # config.current_user_method = {} # config.authenticate_with = {} ## == Authorization == # config.authorization_methods = { # index: 'index?', # show: 'show?', # edit: 'edit?', # new: 'new?', # update: 'update?', # create: 'create?', # destroy: 'destroy?', # } # config.raise_error_on_missing_policy = false ## == Localization == # config.locale = 'en-US' ## == Resource options == # config.resource_controls = :right # config.model_resource_mapping = {} # config.default_view_type = :table # config.per_page = 24 # config.per_page_steps = [12, 24, 48, 72] # config.via_per_page = 8 # config.id_links_to_resource = false # config.cache_resources_on_index_view = true ## == Customization == # config.app_name = 'Avocadelicious' # config.timezone = 'UTC' # config.currency = 'USD' # config.hide_layout_when_printing = false # config.full_width_container = false # config.full_width_index_view = false # config.search_debounce = 300 # config.view_component_path = "app/components" # config.display_license_request_timeout_error = true # config.disabled_features = [] ## == Breadcrumbs == # config.display_breadcrumbs = true # config.set_initial_breadcrumbs do # add_breadcrumb "Home", '/<%= options[:path] %>' # end ## == Menus == # config.main_menu = -> { # section "Dashboards", icon: "dashboards" do # all_dashboards # end # section "Resources", icon: "resources" do # all_resources # end # section "Tools", icon: "tools" do # all_tools # end # } # config.profile_menu = -> { # link "Profile", path: "/<%= options[:path] %>/profile", icon: "user-circle" # } end