Sha256: 5a3f11d3db3adcba2f8b3f82a479a81f4ac68780503a48227e529b0b5c10f415

Contents?: true

Size: 1.09 KB

Versions: 11

Compression:

Stored size: 1.09 KB

Contents

Radiant.config do |config|
  config.namespace('reader') do |reader|
    reader.define 'allow_registration?', :default => true
    reader.define 'require_confirmation?', :default => true
    reader.define 'layout', :select_from => lambda { Layout.all.map(&:name) }, :allow_blank => false
    reader.define 'get_profile?', :default => true
    reader.define 'public?', :default => false
    reader.define 'directory_visibility', :select_from => %w{public private grouped none}, :allow_blank => false, :default => 'private'
    reader.define 'share_details?', :default => false
    reader.define 'profiles_path', :default => "directory"
    reader.define 'preferences_path', :default => "account"
    reader.define 'login_to', :default => "dashboard"
    reader.define 'show_honorifics?', :default => false
    reader.define 'show_descriptions?', :default => false
  end
  config.namespace('email') do |email|
    email.define 'layout', :select_from => lambda { Layout.all.map(&:name) }, :allow_blank => true
    email.define 'name', :allow_blank => false
    email.define 'address', :allow_blank => false
  end
end 

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
radiant-reader-extension-3.0.33 config/initializers/radiant_config.rb
radiant-reader-extension-3.0.32 config/initializers/radiant_config.rb
radiant-reader-extension-3.0.31 config/initializers/radiant_config.rb
radiant-reader-extension-3.0.30 config/initializers/radiant_config.rb
radiant-reader-extension-3.0.29 config/initializers/radiant_config.rb
radiant-reader-extension-3.0.28 config/initializers/radiant_config.rb
radiant-reader-extension-3.0.27 config/initializers/radiant_config.rb
radiant-reader-extension-3.0.26 config/initializers/radiant_config.rb
radiant-reader-extension-3.0.25 config/initializers/radiant_config.rb
radiant-reader-extension-3.0.24 config/initializers/radiant_config.rb
radiant-reader-extension-3.0.23 config/initializers/radiant_config.rb