Class: Admin::EffectiveEventAddonsDatatable
- Inherits:
-
Effective::Datatable
- Object
- Effective::Datatable
- Admin::EffectiveEventAddonsDatatable
- Defined in:
- app/datatables/admin/effective_event_addons_datatable.rb
Instance Method Summary collapse
Instance Method Details
#event ⇒ Object
35 36 37 38 39 |
# File 'app/datatables/admin/effective_event_addons_datatable.rb', line 35 def event @event ||= if attributes[:event_id] Effective::Event.find(attributes[:event_id]) end end |