Sha256: e3ab0af1ca81ce8e2850d053f1932722bf304fff8c3a58e52880ea896b9d1613
Contents?: true
Size: 1021 Bytes
Versions: 4
Compression:
Stored size: 1021 Bytes
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 # 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" end end
Version data entries
4 entries across 4 versions & 1 rubygems