Sha256: ce6954b0bd2f1b39cb3c02697e8eb947fd92b6b81f3bdf219b2548c2042e1647
Contents?: true
Size: 1.39 KB
Versions: 28
Compression:
Stored size: 1.39 KB
Contents
Releaf.application.configure do # Default settings are commented out ### setup menu items and therefore available controllers config.menu = [ "admin/nodes", {name: "inventory", items: %w[admin/books admin/authors admin/publishers admin/banners]}, {name: "permissions", items: %w[releaf/permissions/users releaf/permissions/roles]}, "releaf/settings", "releaf/i18n_database/translations" ] config.additional_controllers = %w[admin/chapters] config.components = [Releaf::Core, Releaf::I18nDatabase, Releaf::Permissions, Releaf::Content] config.available_locales = ["en", "lv"] # conf.layout_builder_class_name = "CustomLayoutBuilder" # conf.permissions.devise_for 'releaf/admin' config.content.resources = { 'Node' => { controller: 'Admin::NodesController' } } # MULTIPLE NODES CASE: # config.content.resources = { # 'Node' => { # controller: 'Releaf::Content::NodesController', # routing: { # site: "main_site", # constraints: { host: /^(www\.)?releaf\.local$/ } # } # }, # 'OtherSite::OtherNode' => { # controller: 'Admin::OtherSite::OtherNodesController', # routing: { # site: "other_site", # constraints: { host: /^(www\.)?other\.releaf\.local$/ } # } # } # } # DEFAULT SINGLE NODE CASE: # config.content.resources = { 'Node' => { controller: 'Releaf::Content::NodesController' } } end
Version data entries
28 entries across 28 versions & 1 rubygems