Activate Ember2 for suppliers
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
class Suppliers::EmployeeShiftSerializer < Qwaiter::Serializer
|
||||
self.root = :employee_shift
|
||||
#embed :ids, include: true
|
||||
attributes :start_from, :end_on, :employee_id
|
||||
has_one :supplier
|
||||
attributes :start_from, :end_on, :employee_id, :supplier_id
|
||||
#has_one :supplier
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user