Sha256: 41f7a562fbce5c5be33ca27628ff0bf0c4ef8916d683ec80922d03ae14ec4193

Contents?: true

Size: 1.16 KB

Versions: 5

Compression:

Stored size: 1.16 KB

Contents

Cmor::Core::Backend.configure do |config|
  # Set the resources, that will be shown in the backend menu.
  # 
  # Default: config.registered_controllers = -> {[
  #            Cmor::Core::Backend::DelayedBackendActiveRecordJobsController,
  #            Cmor::Core::Backend::ActiveStorage::BlobsController,
  #            Cmor::Core::Backend::ActiveStorage::AttachmentsController
  #          ]}
  # 
  config.registered_controllers = -> {[
    Cmor::Core::Backend::DelayedBackendActiveRecordJobsController,
    Cmor::Core::Backend::ActiveStorage::BlobsController,
    Cmor::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 = <%= cmor_core_backend_enable_active_storage %>

  # Enable support for DelayedJob.
  #
  # default: config.enable_delayed_job_backend = false
  #
  config.enable_delayed_job_backend = <%= cmor_core_backend_enable_delayed_job %>
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cmor_core_backend-0.0.5.pre lib/generators/cmor/core/backend/install/templates/initializer.rb
cmor_core_backend-0.0.4.pre lib/generators/cmor/core/backend/install/templates/initializer.rb
cmor_core_backend-0.0.3.pre lib/generators/cmor/core/backend/install/templates/initializer.rb
cmor_core_backend-0.0.2.pre lib/generators/cmor/core/backend/install/templates/initializer.rb
cmor_core_backend-0.0.1.pre lib/generators/cmor/core/backend/install/templates/initializer.rb