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



49
50
51
52
53
# File 'app/datatables/admin/effective_event_registrants_datatable.rb', line 49

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