Sha256: 01b7f3e51f83f7f1f6061e33fba09d871067ea6e6999f44734ab574a1c7d2a4e

Contents?: true

Size: 1.58 KB

Versions: 29

Compression:

Stored size: 1.58 KB

Contents

Avo.configure do |config|
  ## == Routing ==
  config.root_path = '/<%= options[:path] %>'

  ## == Licensing ==
  config.license = 'community'
  # 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 = :current_user
  # config.authenticate_with do
  #   warden.authenticate! scope: :user
  # end

  ## == Authorization ==
  # config.authorization_methods = {
  #   index: 'index?',
  #   show: 'show?',
  #   edit: 'edit?',
  #   new: 'new?',
  #   update: 'update?',
  #   create: 'create?',
  #   destroy: 'destroy?',
  # }

  ## == Localization ==
  # config.locale = 'en-US'

  ## == Customization ==
  # config.app_name = 'Avocadelicious'
  # config.timezone = 'UTC'
  # config.currency = 'USD'
  # config.per_page = 24
  # config.per_page_steps = [12, 24, 48, 72]
  # config.via_per_page = 8
  # config.default_view_type = :table
  # config.id_links_to_resource = false
  # config.full_width_container = false
  # config.full_width_index_view = false
  # config.cache_resources_on_index_view = true
  # config.search_debounce = 300
  # config.view_component_path = "app/components"
  # config.display_license_request_timeout_error = true


  # Where should the user be redirected when he hits the `/<%= options[:path] %>` url
  # config.home_path = nil

  ## == Breadcrumbs ==
  # config.display_breadcrumbs = true
  # config.set_initial_breadcrumbs do
  #   add_breadcrumb "Home", '/<%= options[:path] %>'
  # end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
avo-1.19.1.pre.6 lib/generators/avo/templates/initializer/avo.tt
avo-1.19.1.pre.5 lib/generators/avo/templates/initializer/avo.tt
avo-1.19.1.pre.4 lib/generators/avo/templates/initializer/avo.tt
avo-1.19.1.pre.3 lib/generators/avo/templates/initializer/avo.tt
avo-1.19.1.pre.2 lib/generators/avo/templates/initializer/avo.tt
avo-1.19.1.pre.1 lib/generators/avo/templates/initializer/avo.tt
avo-1.19.0 lib/generators/avo/templates/initializer/avo.tt
avo-1.18.2 lib/generators/avo/templates/initializer/avo.tt
avo-1.18.2.pre.0 lib/generators/avo/templates/initializer/avo.tt
avo-1.18.1 lib/generators/avo/templates/initializer/avo.tt
avo-1.18.0 lib/generators/avo/templates/initializer/avo.tt
avo-1.18.0.pre.3 lib/generators/avo/templates/initializer/avo.tt
avo-1.18.0.pre.2 lib/generators/avo/templates/initializer/avo.tt
avo-1.18.0.pre.1 lib/generators/avo/templates/initializer/avo.tt
avo-1.17.1 lib/generators/avo/templates/initializer/avo.tt
avo-1.17.0 lib/generators/avo/templates/initializer/avo.tt
avo-1.16.4 lib/generators/avo/templates/initializer/avo.tt
avo-1.16.3 lib/generators/avo/templates/initializer/avo.tt
avo-1.16.2 lib/generators/avo/templates/initializer/avo.tt
avo-1.16.1 lib/generators/avo/templates/initializer/avo.tt