Sha256: bbd3e5998a53ae1bc733f421694c7ed51cfd879287c4489d467ca07c94fc781c
Contents?: true
Size: 1.18 KB
Versions: 1
Compression:
Stored size: 1.18 KB
Contents
TrustyCms::Application.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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
trusty-cms-1.0.0 | config/initializers/radiant_config.rb |