Sha256: 78a0f15faee115a569f880637acfcf230178caf3ce3725f8c2b7e43fc7a06513
Contents?: true
Size: 1.16 KB
Versions: 52
Compression:
Stored size: 1.16 KB
Contents
TrustyCms.config do |config| config.define 'admin.title', :default => "TrustyCms CMS" config.define 'dev.host' config.define 'local.timezone', :allow_change => true, :select_from => lambda { ActiveSupport::TimeZone::MAPPING.keys.sort } config.define 'defaults.locale', :select_from => lambda { TrustyCms::AvailableLocales.locales }, :allow_blank => true config.define 'defaults.page.parts', :default => "Body,Extended" config.define 'defaults.page.status', :select_from => lambda { Status.selectable_values }, :allow_blank => false, :default => "Draft" config.define 'defaults.page.filter', :select_from => lambda { TextFilter.descendants.map { |s| s.filter_name }.sort }, :allow_blank => true config.define 'defaults.page.fields' config.define 'pagination.param_name', :default => 'page' config.define 'pagination.per_page_param_name', :default => 'per_page' config.define 'admin.pagination.per_page', :type => :integer, :default => 50 config.define 'site.title', :default => "Your site title", :allow_blank => false config.define 'site.host', :default => "www.example.com", :allow_blank => false config.define 'user.allow_password_reset?', :default => true end
Version data entries
52 entries across 52 versions & 1 rubygems