Sha256: 8fd13af2833b874a6bc654706cf53ac2e45816287d000bd28632dc192fda2be4

Contents?: true

Size: 1000 Bytes

Versions: 13

Compression:

Stored size: 1000 Bytes

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"
  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

13 entries across 13 versions & 1 rubygems

Version Path
radiant-reader-extension-3.0.20 config/initializers/radiant_config.rb
radiant-reader-extension-3.0.19 config/initializers/radiant_config.rb
radiant-reader-extension-3.0.18 config/initializers/radiant_config.rb
radiant-reader-extension-3.0.17 config/initializers/radiant_config.rb
radiant-reader-extension-3.0.16 config/initializers/radiant_config.rb
radiant-reader-extension-3.0.15 config/initializers/radiant_config.rb
radiant-reader-extension-3.0.14 config/initializers/radiant_config.rb
radiant-reader-extension-3.0.13 config/initializers/radiant_config.rb
radiant-reader-extension-3.0.11 config/initializers/radiant_config.rb
radiant-reader-extension-3.0.10 config/initializers/radiant_config.rb
radiant-reader-extension-3.0.9 config/initializers/radiant_config.rb
radiant-reader-extension-3.0.8 config/initializers/radiant_config.rb
radiant-reader-extension-3.0.7 config/initializers/radiant_config.rb