Sha256: 849a87a756133be111ffa6e299e1c9ba379eaff11bd74a16457bbc34f8384dd2

Contents?: true

Size: 1.22 KB

Versions: 28

Compression:

Stored size: 1.22 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
  config.define 'session_timeout', :default => 2.weeks
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
trusty-cms-3.1.6 config/initializers/trusty_cms_config.rb
trusty-cms-3.1.5 config/initializers/trusty_cms_config.rb
trusty-cms-3.1.3 config/initializers/trusty_cms_config.rb
trusty-cms-3.1.2 config/initializers/trusty_cms_config.rb
trusty-cms-3.0.11 config/initializers/trusty_cms_config.rb
trusty-cms-3.1.1 config/initializers/trusty_cms_config.rb
trusty-cms-3.0.10 config/initializers/trusty_cms_config.rb
trusty-cms-3.1.0 config/initializers/trusty_cms_config.rb
trusty-cms-3.0.9 config/initializers/trusty_cms_config.rb
trusty-cms-3.0.8 config/initializers/trusty_cms_config.rb
trusty-cms-3.0.7 config/initializers/trusty_cms_config.rb
trusty-cms-2.0.28 config/initializers/trusty_cms_config.rb
trusty-cms-3.0.6 config/initializers/trusty_cms_config.rb
trusty-cms-2.0.27 config/initializers/trusty_cms_config.rb
trusty-cms-3.0.4 config/initializers/trusty_cms_config.rb
trusty-cms-3.0.3 config/initializers/trusty_cms_config.rb
trusty-cms-3.0.2 config/initializers/trusty_cms_config.rb
trusty-cms-3.0.1 config/initializers/trusty_cms_config.rb
trusty-cms-3.0.0 config/initializers/trusty_cms_config.rb
trusty-cms-2.0.26 config/initializers/trusty_cms_config.rb