Sha256: 874a3f12decc32c059172a7199d6b8bd76ffcfc854dbc8d0d5bdeee5d05715a3

Contents?: true

Size: 1.26 KB

Versions: 42

Compression:

Stored size: 1.26 KB

Contents

Cmor::Cms::Backend.configure do |config|
  # Set the resources, that will be shown in the backend menu.
  #
  # Default: config.registered_controllers = -> {[
  #            Cmor::Cms::Backend::ContentBoxesController,
  #            Cmor::Cms::Backend::NavigationsController,
  #            Cmor::Cms::Backend::NavigationItemsController,
  #            Cmor::Cms::Backend::PagesController,
  #            Cmor::Cms::Backend::PartialsController,
  #            Cmor::Cms::Backend::TemplatesController
  # ]}
  #
  config.registered_controllers = lambda {
    [
      Cmor::Cms::Backend::ContentBoxesController,
      Cmor::Cms::Backend::NavigationsController,
      Cmor::Cms::Backend::NavigationItemsController,
      Cmor::Cms::Backend::PagesController,
      Cmor::Cms::Backend::PartialsController,
      Cmor::Cms::Backend::TemplatesController
    ]
  }

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

Version data entries

42 entries across 31 versions & 1 rubygems

Version Path
cmor_cms_backend-0.0.41.pre spec/dummy/config/initializers/cmor_cms_backend.rb
cmor_cms_backend-0.0.41.pre lib/generators/cmor/cms/backend/install/templates/initializer.rb
cmor_cms_backend-0.0.40.pre lib/generators/cmor/cms/backend/install/templates/initializer.rb
cmor_cms_backend-0.0.39.pre lib/generators/cmor/cms/backend/install/templates/initializer.rb
cmor_cms_backend-0.0.38.pre lib/generators/cmor/cms/backend/install/templates/initializer.rb
cmor_cms_backend-0.0.37.pre lib/generators/cmor/cms/backend/install/templates/initializer.rb
cmor_cms_backend-0.0.36.pre lib/generators/cmor/cms/backend/install/templates/initializer.rb
cmor_cms_backend-0.0.35.pre lib/generators/cmor/cms/backend/install/templates/initializer.rb
cmor_cms_backend-0.0.34.pre lib/generators/cmor/cms/backend/install/templates/initializer.rb
cmor_cms_backend-0.0.33.pre lib/generators/cmor/cms/backend/install/templates/initializer.rb
cmor_cms_backend-0.0.32.pre lib/generators/cmor/cms/backend/install/templates/initializer.rb
cmor_cms_backend-0.0.31.pre lib/generators/cmor/cms/backend/install/templates/initializer.rb
cmor_cms_backend-0.0.30.pre lib/generators/cmor/cms/backend/install/templates/initializer.rb
cmor_cms_backend-0.0.29.pre lib/generators/cmor/cms/backend/install/templates/initializer.rb
cmor_cms_backend-0.0.28.pre lib/generators/cmor/cms/backend/install/templates/initializer.rb
cmor_cms_backend-0.0.27.pre lib/generators/cmor/cms/backend/install/templates/initializer.rb
cmor_cms_backend-0.0.26.pre lib/generators/cmor/cms/backend/install/templates/initializer.rb
cmor_cms_backend-0.0.25.pre lib/generators/cmor/cms/backend/install/templates/initializer.rb
cmor_cms_backend-0.0.24.pre lib/generators/cmor/cms/backend/install/templates/initializer.rb
cmor_cms_backend-0.0.22.pre lib/generators/cmor/cms/backend/install/templates/initializer.rb