Sha256: 6dea70de864d8e98ba2be7b83019e76236aa4110d47d420b98751708b800bc96
Contents?: true
Size: 1.55 KB
Versions: 3
Compression:
Stored size: 1.55 KB
Contents
ComfortableMexicanSofa.configure do |config| # Title of the admin area config.cms_title = 'ComfortableMexicanSofa' # Module responsible for authentication. You can replace it with your own. # It simply needs to have #authenticate method. See http_auth.rb for reference. config.authentication = 'ComfortableMexicanSofa::HttpAuth' # Default url to access admin area is http://yourhost/cms-admin/ # You can change 'cms-admin' to 'admin', for example. # config.admin_route_prefix = 'cms-admin' # Path: /cms-admin redirects to /cms-admin/pages but you can change it # You don't need to change it when changing admin_route_prefix # config.admin_route_redirect = '/cms-admin/pages' # Location of YAML files that can be used to render pages instead of pulling # data from the database. Not active if not specified. # config.seed_data_path = File.expand_path('db/cms_seeds', Rails.root) # Let CMS handle site creation and management. Enabled by default. # config.auto_manage_sites = true end # Default credentials for ComfortableMexicanSofa::HttpAuth ComfortableMexicanSofa::HttpAuth.username = 'username' ComfortableMexicanSofa::HttpAuth.password = 'password' # If you need to inject some html in cms admin views you can define what partial # should be rendered into the following areas: # ComfortableMexicanSofa::ViewHooks.add(:navigation, '/layouts/admin/navigation') # ComfortableMexicanSofa::ViewHooks.add(:html_head, '/layouts/admin/html_head') # ComfortableMexicanSofa::ViewHooks.add(:page_form, '/layouts/admin/page_form')
Version data entries
3 entries across 3 versions & 1 rubygems