Class: Admin::EffectiveEventAddonsDatatable

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

Instance Method Summary collapse

Instance Method Details

#eventObject



47
48
49
50
51
# File 'app/datatables/admin/effective_event_addons_datatable.rb', line 47

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