Sha256: c5e1a384ab3c2c44548ebda2f42ba81b4033c52814eba55a17950fdec8ded281

Contents?: true

Size: 1.08 KB

Versions: 3

Compression:

Stored size: 1.08 KB

Contents

Administrador.configure do |config|
  # Methods, that will be tried on a resource to generate a nice title
  #
  # Default: config.resource_label_methods = [:administrador_title, :human, :name, :identifier, :email, :to_s]
  #
  config.resource_label_methods = [:administrador_title, :human, :name, :identifier, :email, :to_s]

  # All controllers (for resources, services, sidebars, home, etc.) inherit
  # from this controller.
  #
  # Default: config.base_controller_class_name = '::ApplicationController'
  #
  config.base_controller_class_name = '::ApplicationController'

  # Initial state of the engine sidebar. Can be :open or :closed.
  #
  # Default: config.initial_engine_sidebar_state = :closed
  #
  config.initial_engine_sidebar_state = :closed

  # Enable additional features here.
  #
  # config.enable_feature(:kaminari, { per_page_default: 10 })
  # config.enable_feature(:rao_query, {})

  # Engines that are registered will be shown in the administrador main menu
  # sidebar. Additionally they can register sidebars.
  #
  # config.register_engine 'Cmor::Blog::Backend::Engine', {}
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
administrador-0.0.32.pre lib/generators/administrador/install/templates/initializer.rb
administrador-0.0.31.pre lib/generators/administrador/install/templates/initializer.rb
administrador-0.0.30.pre lib/generators/administrador/install/templates/initializer.rb