Sha256: e39bdc89dea6255c235194cefbf4d02e849ccf05f80e3d6a26767c94af73b7b7

Contents?: true

Size: 1010 Bytes

Versions: 5

Compression:

Stored size: 1010 Bytes

Contents

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

  ## == Licensing ==
  config.license = 'community'
  # config.license_key = ENV['AVO_LICENSE_KEY']

  ## == 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 ==

  ## == Customization ==
  # config.app_name = 'Avocadelicious'
  # config.locale = 'en-US'
  # 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

  ## == Beta version ==
  # config.hide_resource_overview_component = false
  # config.hide_documentation_link = false
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
avo-0.4.10 lib/generators/avo/templates/initializer/avo.rb
avo-0.4.9 lib/generators/avo/templates/initializer/avo.rb
avo-0.4.8 lib/generators/avo/templates/initializer/avo.rb
avo-0.4.7 lib/generators/avo/templates/initializer/avo.rb
avo-0.4.6 lib/generators/avo/templates/initializer/avo.rb