Sha256: a999461b0e6f0f2c94e17da239516db29852e1e35abc1f1b862ef2f32c99848f
Contents?: true
Size: 987 Bytes
Versions: 1
Compression:
Stored size: 987 Bytes
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" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
brightcontent-core-2.1.1 | lib/generators/brightcontent/templates/initializer.rb |