|
ConfigurationSettings
All of the configuration options for Comatose and their default values.
Default ConfigurationFollowing is a configuration block that shows all of the supported settings and their defaults: Comatose.configure do |config|
config.admin_title = 'Comatose'
config.admin_includes = []
config.admin_helpers = []
config.admin_sub_title = 'The Micro CMS'
config.content_type = 'utf-8'
config.default_filter = 'Textile'
config.default_processor = :liquid
config.default_tree_level = 2
config.disable_caching = false
config.hidden_meta_fields = []
config.helpers = []
config.includes = []
# These are 'blockable' settings
config.authorization = Proc.new { true }
config.admin_authorization = Proc.new { true }
config.admin_get_author = Proc.new { request.env['REMOTE_ADDR'] }
config.admin_get_root_page = Proc.new { Comatose::Page.root }
config.after_setup = Proc.new { true }
end
|
Sign in to add a comment
If Using Authentication, this will enable application session key to be shared by comatose