Sha256: 3b7cceaedd0661924ac803f8f66476ff230309f53a205f5720f1b84c395da7fd
Contents?: true
Size: 1.09 KB
Versions: 1
Compression:
Stored size: 1.09 KB
Contents
class LucyCms::Configuration attr_accessor :version # 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 # 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 attr_accessor :cms_upload_directory # Not allowing irb code to be run inside page content. True by default. attr_accessor :disable_irb # Caching for css/js. For admin layout and ones for cms content. Enabled by default. attr_accessor :enable_caching # Configuration defaults def initialize @version = '0.0.6' @admin_route_prefix = 'cms-admin' @admin_route_redirect = "/#{@admin_route_prefix}/pages" @seed_data_path = nil @cms_upload_directory = 'common' @disable_irb = true @enable_caching = true end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lucy_cms-0.0.6 | lib/LucyCMS/configuration.rb |