Sha256: 6236b90fd8ea681b438756713f579a7f57550b5303213dd61886a7c20aa7e60d

Contents?: true

Size: 1.04 KB

Versions: 2

Compression:

Stored size: 1.04 KB

Contents

Ecm::Core::Backend.configure do |config|
  # Set the resources, that will be shown in the backend menu.
  # 
  # Default: config.registered_controllers = -> {[
  #            Ecm::Core::Backend::DelayedJobsController,
  #            Ecm::Core::Backend::ActiveStorage::BlobsController,
  #            Ecm::Core::Backend::ActiveStorage::AttachmentsController
  #          ]}
  # 
  config.registered_controllers = -> {[
    Ecm::Core::Backend::DelayedJobsController,
    Ecm::Core::Backend::ActiveStorage::BlobsController,
    Ecm::Core::Backend::ActiveStorage::AttachmentsController
  ]}

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

  # Enable support for ActiveStorage.
  # 
  # default: config.enable_active_storage_backend = false
  # 
  config.enable_active_storage_backend = false

  # Enable support for DelayedJob.
  #
  # default: config.enable_delayed_job_backend = false
  #
  config.enable_delayed_job_backend = false
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ecm_core-0.4.0 lib/generators/ecm/core/backend/install/templates/initializer.rb
ecm_core-0.3.0 lib/generators/ecm/core/backend/install/templates/initializer.rb