Sha256: 40a583fae37db9a83be4d7feb8b36a7240b2e93b798dcf4a2f05cf84fc722c15

Contents?: true

Size: 891 Bytes

Versions: 4

Compression:

Stored size: 891 Bytes

Contents

Cmor::Showcase.configure do |config|
  # Set the resources, that will be shown in the backend menu.
  # 
  # Default: config.resources_controllers = -> {[
  #            Cmor::Showcase::CategoriesController,
  #            Cmor::Showcase::ItemsController
  #          ]}
  # 
  config.resources_controllers = -> {[
    Cmor::Showcase::CategoriesController,
    Cmor::Showcase::ItemsController
  ]}

  # Set the resources, that will be shown in the backend menu.
  # 
  # Default: config.resource_controllers = -> {[]}
  # 
  config.resource_controllers = -> {[]}

  # Set the services, that will be shown in the backend menu.
  # 
  # Default: config.service_controllers = -> {[]}
  # 
  config.service_controllers = -> {[]}

  # Set the sidebars, that will be shown in the backend menu.
  # 
  # Default: config.sidebar_controllers = -> {[]}
  # 
  config.sidebar_controllers = -> {[]}
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cmor_showcase-0.0.36.pre lib/generators/cmor/showcase/install/templates/initializer.rb
cmor_showcase-0.0.35.pre lib/generators/cmor/showcase/install/templates/initializer.rb
cmor_showcase-0.0.34.pre lib/generators/cmor/showcase/install/templates/initializer.rb
cmor_showcase-0.0.33.pre lib/generators/cmor/showcase/install/templates/initializer.rb