Sha256: 0e54d3bbed4ad8972e25398be8dcdde9ab3829676afec70c4a0b3bd75335fcc3

Contents?: true

Size: 1.21 KB

Versions: 5

Compression:

Stored size: 1.21 KB

Contents

Brightcontent.setup do |config|
  # The path where the admin interface should mount.
  config.path = "admin"

  # Name of the application which is displayed in header.
  # Defaults to Rails application name.
  # config.application_name = "Custom app name"

  # Overwrite Brightcontent locale. Defaults to Rails locale.
  # config.locale = "nl"

  # Set the amount of menu items which are shown directly in the top bar.
  # If there are more resources than this number, the remaining will be
  # accumulated in a drop down menu.
  # config.main_menu_count = 6

  # The attachments model only allows images and pdf documents by default.
  # Set to empty array to disable.
  # config.attachment_content_types = [/\Aimage/, "application/pdf"]

  # Brightcontent provides its own user model: AdminUser. This is used by
  # default. You can specify a custom user model as string or class.
  # It has to implement an authenticate method.
  # config.user_model = "Brightcontent::AdminUser"

  # brightcontent-pages provides a Brightcontent::Page model which is used
  # by default. If you want to user another model for pages (eg. to avoid
  # the namespace) you can specify it as a string or class.
  # config.page_model = "Brightcontent::Page"
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
brightcontent-core-2.2.0 lib/generators/brightcontent/templates/initializer.rb
brightcontent-core-2.1.5 lib/generators/brightcontent/templates/initializer.rb
brightcontent-core-2.1.4 lib/generators/brightcontent/templates/initializer.rb
brightcontent-core-2.1.3 lib/generators/brightcontent/templates/initializer.rb
brightcontent-core-2.1.2 lib/generators/brightcontent/templates/initializer.rb