Sha256: 7609dc405a0b5426a83546255b9f678b40ac6043e085398685ca0b7d9650c6df

Contents?: true

Size: 540 Bytes

Versions: 21

Compression:

Stored size: 540 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
  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

21 entries across 21 versions & 1 rubygems

Version Path
radiant-reader-extension-1.3.13 config/initializers/radiant_config.rb
radiant-reader-extension-1.3.12 config/initializers/radiant_config.rb
radiant-reader-extension-1.3.11 config/initializers/radiant_config.rb
radiant-reader-extension-1.3.10 config/initializers/radiant_config.rb
radiant-reader-extension-1.3.9 config/initializers/radiant_config.rb
radiant-reader-extension-1.3.8 config/initializers/radiant_config.rb
radiant-reader-extension-1.3.7 config/initializers/radiant_config.rb
radiant-reader-extension-1.3.6 config/initializers/radiant_config.rb
radiant-reader-extension-1.3.4 config/initializers/radiant_config.rb
radiant-reader-extension-1.3.3 config/initializers/radiant_config.rb
radiant-reader-extension-1.3.1 config/initializers/radiant_config.rb
radiant-reader-extension-1.3.0 config/initializers/radiant_config.rb
radiant-reader-extension-1.2.4 config/initializers/radiant_config.rb
radiant-reader-extension-1.2.3 config/initializers/radiant_config.rb
radiant-reader-extension-1.2.2 config/initializers/radiant_config.rb
radiant-reader-extension-1.2.1 config/initializers/radiant_config.rb
radiant-reader-extension-1.2.0 config/initializers/radiant_config.rb
radiant-reader-extension-1.1.1 config/initializers/radiant_config.rb
radiant-reader-extension-1.1.0 config/initializers/radiant_config.rb
radiant-reader-extension-1.0.1 config/initializers/radiant_config.rb