Sha256: e975bb595ebd67fa05c0d02ed031976099564b0081912fa1a735d2c883674f1a
Contents?: true
Size: 1.36 KB
Versions: 5
Compression:
Stored size: 1.36 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::LayoutsController, # 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::LayoutsController, 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
5 entries across 5 versions & 1 rubygems