Sha256: f65eef923b3b981cbbddbba15f0aae6503a4e5a6056c32c7ad64101a93c62d46

Contents?: true

Size: 1.47 KB

Versions: 9

Compression:

Stored size: 1.47 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

  # 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

9 entries across 9 versions & 1 rubygems

Version Path
avo-1.6.0 lib/generators/avo/templates/initializer/avo.tt
avo-1.5.5 lib/generators/avo/templates/initializer/avo.tt
avo-1.5.4 lib/generators/avo/templates/initializer/avo.tt
avo-1.5.3 lib/generators/avo/templates/initializer/avo.tt
avo-1.5.2 lib/generators/avo/templates/initializer/avo.tt
avo-1.5.1 lib/generators/avo/templates/initializer/avo.tt
avo-1.5.0 lib/generators/avo/templates/initializer/avo.tt
avo-1.4.5.pre.1 lib/generators/avo/templates/initializer/avo.tt
avo-1.4.4.pre.1 lib/generators/avo/templates/initializer/avo.tt