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.53.pre spec/dummy/config/initializers/cmor_cms_backend.rb
cmor_cms_backend-0.0.53.pre lib/generators/cmor/cms/backend/install/templates/initializer.rb
cmor_cms_backend-0.0.52.pre lib/generators/cmor/cms/backend/install/templates/initializer.rb
cmor_cms_backend-0.0.52.pre spec/dummy/config/initializers/cmor_cms_backend.rb
cmor_cms_backend-0.0.51.pre lib/generators/cmor/cms/backend/install/templates/initializer.rb
cmor_cms_backend-0.0.51.pre spec/dummy/config/initializers/cmor_cms_backend.rb
cmor_cms_backend-0.0.50.pre lib/generators/cmor/cms/backend/install/templates/initializer.rb
cmor_cms_backend-0.0.50.pre spec/dummy/config/initializers/cmor_cms_backend.rb
cmor_cms_backend-0.0.49.pre spec/dummy/config/initializers/cmor_cms_backend.rb
cmor_cms_backend-0.0.49.pre lib/generators/cmor/cms/backend/install/templates/initializer.rb
cmor_cms_backend-0.0.48.pre spec/dummy/config/initializers/cmor_cms_backend.rb
cmor_cms_backend-0.0.48.pre lib/generators/cmor/cms/backend/install/templates/initializer.rb
cmor_cms_backend-0.0.45.pre lib/generators/cmor/cms/backend/install/templates/initializer.rb
cmor_cms_backend-0.0.45.pre spec/dummy/config/initializers/cmor_cms_backend.rb
cmor_cms_backend-0.0.44.pre spec/dummy/config/initializers/cmor_cms_backend.rb
cmor_cms_backend-0.0.44.pre lib/generators/cmor/cms/backend/install/templates/initializer.rb
cmor_cms_backend-0.0.43.pre lib/generators/cmor/cms/backend/install/templates/initializer.rb
cmor_cms_backend-0.0.43.pre spec/dummy/config/initializers/cmor_cms_backend.rb
cmor_cms_backend-0.0.42.pre lib/generators/cmor/cms/backend/install/templates/initializer.rb
cmor_cms_backend-0.0.42.pre spec/dummy/config/initializers/cmor_cms_backend.rb