Sha256: 356025f2ede135359ea3d105ecc54d2130bb54986ee514d2df76e3997cae75af
Contents?: true
Size: 1.13 KB
Versions: 4
Compression:
Stored size: 1.13 KB
Contents
class ComfortableMexicanSofa::Configuration # Don't like Comfortable Mexican Sofa? Set it to whatever you like. :( attr_accessor :cms_title # Module that will handle authentication to access cms-admin area attr_accessor :authentication # Location of YAML files that can be used to render pages instead of pulling # data from the database. Not active if not specified. attr_accessor :seed_data_path # Default url to access admin area is http://yourhost/cms-admin/ # You can change 'cms-admin' to 'admin', for example. attr_accessor :admin_route_prefix # /cms-admin redirects to /cms-admin/pages but you can change it # to something else attr_accessor :admin_route_redirect # Let CMS handle site creation and management. Enabled by default. attr_accessor :auto_manage_sites # Configuration defaults def initialize @cms_title = 'ComfortableMexicanSofa' @authentication = 'ComfortableMexicanSofa::HttpAuth' @seed_data_path = nil @admin_route_prefix = 'cms-admin' @admin_route_redirect = "/#{@admin_route_prefix}/pages" @auto_manage_sites = true end end
Version data entries
4 entries across 4 versions & 1 rubygems