Module: Effective::EffectiveDatatable::Hooks

Included in:
Datatable
Defined in:
app/models/effective/effective_datatable/hooks.rb

Instance Method Summary collapse

Instance Method Details

#finalize(collection) ⇒ Object

Called on the final collection after searching, ordering, arrayizing and formatting have been completed



8
9
10
# File 'app/models/effective/effective_datatable/hooks.rb', line 8

def finalize(collection) # Override me if you like
  collection
end