Sha256: 4936c86b7a58098f4a06f17e82c72e92e815eb9ef83a814febee0a72a8916edb

Contents?: true

Size: 734 Bytes

Versions: 3

Compression:

Stored size: 734 Bytes

Contents

EffectiveEvents.setup do |config|
  config.events_table_name = :events
  config.event_tickets_table_name = :event_tickets
  config.event_products_table_name = :event_products
  config.event_registrants_table_name = :event_registrants
  config.event_addons_table_name = :event_addons
  config.event_registrations_table_name = :event_registrations

  # Layout Settings
  # Configure the Layout per controller, or all at once
  # config.layout = { application: 'application', admin: 'admin' }

  # Event Settings
  # config.event_registrations_class_name = 'Effective::EventRegistration'

  # Pagination length on the Events#index page
  config.per_page = 10

  # Events can be restricted by role
  config.use_effective_roles = true
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
effective_events-0.1.10 config/effective_events.rb
effective_events-0.1.9 config/effective_events.rb
effective_events-0.1.8 config/effective_events.rb