Sha256: f205be8c98164b4e1c4c6bcf3608041ae6e49be677720560690558fb659f43dc
Contents?: true
Size: 984 Bytes
Versions: 6
Compression:
Stored size: 984 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 => "" reader.define 'preferences_path', :default => "" 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
6 entries across 6 versions & 1 rubygems