Sha256: 616da799d5397b4a3d75fab8b7da1ca518282ef96cee64410cb28c3c26038952
Contents?: true
Size: 1.22 KB
Versions: 17
Compression:
Stored size: 1.22 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` class 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
17 entries across 17 versions & 1 rubygems