Sha256: 3b43dbec78f459cefe045f0ce7555f5a31a43ec6a8d47b374fa17dd6aab31529

Contents?: true

Size: 795 Bytes

Versions: 1

Compression:

Stored size: 795 Bytes

Contents

Ecm::Downloads::Backend.configure do |config|  
  # Set the resources, that will be shown in the backend menu in development
  # mode. This needs to be set to get a correct menu because
  # Controller.descendants is empty in development. This is an eager load
  # issue.
  # 
  # Default: config.registered_controllers = -> {[
  #            Ecm::Downloads::Backend::DownloadCategoriesController,
  #            Ecm::Downloads::Backend::DownloadsController
  #          ]}
  # 
  config.registered_controllers = -> {[
    Ecm::Downloads::Backend::DownloadCategoriesController,
    Ecm::Downloads::Backend::DownloadsController
  ]}

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ecm_downloads2_backend-1.0.0 lib/generators/ecm/downloads/backend/install/templates/ecm_downloads_backend.rb