Sha256: b663d704d8e8aa075e9e8b6a25f0586a5a33b2eacfd2173c746390e16dcd2857

Contents?: true

Size: 626 Bytes

Versions: 4

Compression:

Stored size: 626 Bytes

Contents

Radiant.config do |config|
  config.namespace('event_calendar') do |calendar|
    calendar.define 'path', :default => "cal", :allow_blank => false
    calendar.define 'icals_path', :default => "/icals", :allow_blank => false
    calendar.define 'cache_duration', :type => :integer, :default => 3600, :units => 'seconds'
    calendar.define 'refresh_interval', :type => :integer, :default => 3600, :units => 'seconds'
    calendar.define 'recurrence_horizon', :type => :integer, :default => 10, :units => 'years'
    calendar.define 'layout', :select_from => lambda { Layout.all.map(&:name) }, :allow_blank => false
  end
end 

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
radiant-event_calendar-extension-1.5.6 config/initializers/radiant_config.rb
radiant-event_calendar-extension-1.5.5 config/initializers/radiant_config.rb
radiant-event_calendar-extension-1.5.4 config/initializers/radiant_config.rb
radiant-event_calendar-extension-1.5.3 config/initializers/radiant_config.rb