Class: EffectiveOrdersDatatable

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

Overview

This is a user specific EffectiveOrdersDatatable

Instance Method Summary collapse

Instance Method Details

#userObject



81
82
83
# File 'app/datatables/effective_orders_datatable.rb', line 81

def user
  @user ||= current_user.class.find(attributes[:user_id])
end