Class: Admin::EffectiveEventRegistrantsDatatable

Inherits:
Effective::Datatable
  • Object
show all
Defined in:
app/datatables/admin/effective_event_registrants_datatable.rb

Instance Method Summary collapse

Instance Method Details

#eventObject



86
87
88
89
90
# File 'app/datatables/admin/effective_event_registrants_datatable.rb', line 86

def event
  @event ||= if attributes[:event_id]
    Effective::Event.find_by_id(attributes[:event_id])
  end
end