Sha256: d77200cf4a21d8482e4d80023b4792d53d5d183e595dca69f8f2d6f6e15ebb05

Contents?: true

Size: 632 Bytes

Versions: 6

Compression:

Stored size: 632 Bytes

Contents

Radiant.config do |config|
  config.namespace('event_calendar') do |calendar|
    calendar.define 'path', :default => "/calendar", :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

6 entries across 6 versions & 1 rubygems

Version Path
radiant-event_calendar-extension-1.5.1 config/initializers/radiant_config.rb
radiant-event_calendar-extension-1.5.0 config/initializers/radiant_config.rb
radiant-event_calendar-extension-1.4.14 config/initializers/radiant_config.rb
radiant-event_calendar-extension-1.4.12 config/initializers/radiant_config.rb
radiant-event_calendar-extension-1.4.10 config/initializers/radiant_config.rb
radiant-event_calendar-extension-1.4.9 config/initializers/radiant_config.rb