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

Version Path
trusty-cms-2.0.19 config/initializers/trusty_cms_config.rb
trusty-cms-2.0.18 config/initializers/trusty_cms_config.rb
trusty-cms-2.0.17 config/initializers/trusty_cms_config.rb
trusty-cms-2.0.16 config/initializers/trusty_cms_config.rb
trusty-cms-2.0.15 config/initializers/trusty_cms_config.rb
trusty-cms-2.0.14 config/initializers/trusty_cms_config.rb
trusty-cms-2.0.13 config/initializers/trusty_cms_config.rb
trusty-cms-2.0.12 config/initializers/trusty_cms_config.rb
trusty-cms-2.0.11 config/initializers/trusty_cms_config.rb
trusty-cms-2.0.10.pre.beta config/initializers/trusty_cms_config.rb
trusty-cms-2.0.9.pre.beta config/initializers/trusty_cms_config.rb
trusty-cms-2.0.8.pre.beta config/initializers/trusty_cms_config.rb
trusty-cms-2.0.7.pre.beta config/initializers/trusty_cms_config.rb
trusty-cms-2.0.5.pre.beta config/initializers/trusty_cms_config.rb
trusty-cms-2.0.4.pre.beta config/initializers/trusty_cms_config.rb
trusty-cms-2.0.3.pre.beta config/initializers/trusty_cms_config.rb
trusty-cms-2.0.2.pre.beta config/initializers/trusty_cms_config.rb
trusty-cms-2.0.1.pre.beta config/initializers/trusty_cms_config.rb
trusty-cms-2.0.0.pre.beta config/initializers/trusty_cms_config.rb
trusty-cms-1.2.29 config/initializers/trusty_cms_config.rb