Class: Admin::EffectiveEventRegistrantsDatatable
- Inherits:
-
Effective::Datatable
- Object
- Effective::Datatable
- Admin::EffectiveEventRegistrantsDatatable
- Defined in:
- app/datatables/admin/effective_event_registrants_datatable.rb
Instance Method Summary collapse
Instance Method Details
#event ⇒ Object
41 42 43 44 45 |
# File 'app/datatables/admin/effective_event_registrants_datatable.rb', line 41 def event @event ||= if attributes[:event_id] Effective::Event.find(attributes[:event_id]) end end |