lib/generators/avo/templates/initializer/avo.tt in avo-3.0.0.pre18 vs lib/generators/avo/templates/initializer/avo.tt in avo-3.0.0.pre19

- old
+ new

@@ -1,17 +1,21 @@ # For more information regarding these settings check out our docs https://docs.avohq.io +# The values disaplayed here are the default ones. Uncomment and change them to fit your needs. Avo.configure do |config| ## == Routing == config.root_path = '/<%= options[:path] %>' # used only when you have custom `map` configuration in your config.ru # config.prefix_path = "/internal" + # Sometimes you migth want to mount Avo's engines yourself. + # https://docs.avohq.io/3.0/routing.html + # config.mount_avo_engines = true + # 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 @@ -64,9 +68,10 @@ # config.view_component_path = "app/components" # config.display_license_request_timeout_error = true # config.disabled_features = [] # config.buttons_on_form_footers = true # config.field_wrapper_layout = true + # config.resource_parent_controller = "Avo::ResourcesController" ## == Branding == # config.branding = { # colors: { # background: "248 246 242",