Sha256: 4931a93c2e1aa1fcd5fdee4078f9e6a9ae70bb19c5205843327ed2f0b1af7fd1

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.7.2 lib/generators/avo/templates/initializer/avo.tt
avo-1.7.1 lib/generators/avo/templates/initializer/avo.tt
avo-1.7.0 lib/generators/avo/templates/initializer/avo.tt
avo-1.6.4.pre.1 lib/generators/avo/templates/initializer/avo.tt
avo-1.6.3.pre.3 lib/generators/avo/templates/initializer/avo.tt
avo-1.6.3.pre.2 lib/generators/avo/templates/initializer/avo.tt
avo-1.6.3.pre.1 lib/generators/avo/templates/initializer/avo.tt
avo-1.6.2.pre.1 lib/generators/avo/templates/initializer/avo.tt
avo-1.6.1 lib/generators/avo/templates/initializer/avo.tt