Sha256: 2e65dcc3caed69cdb86b6dc2b3f2a4b43a47b7979a1bafba99b6bd0a05cf92a5

Contents?: true

Size: 1.88 KB

Versions: 2

Compression:

Stored size: 1.88 KB

Contents

ComfortableMexicanSofa.configure do |config|
  # Title of the admin area
  config.cms_title      = 'ComfortableMexicanSofa MicroCMS'
  
  # 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. Containing folder name
  # should be the hostname of the site. Example: my-app.local
  #   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
  
  # By default you cannot have irb code inside your layouts/pages/snippets.
  # Generally this is to prevent putting something like this:
  # <% User.delete_all %> but if you really want to allow it...
  #   config.disable_irb = 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

2 entries across 2 versions & 1 rubygems

Version Path
comfortable_mexican_sofa-1.0.45 config/initializers/comfortable_mexican_sofa.rb
comfortable_mexican_sofa-1.0.44 config/initializers/comfortable_mexican_sofa.rb