Method: Logistics::Core::OperationsController#assigned

Defined in:
app/controllers/logistics/core/operations_controller.rb

#assignedObject



61
62
63
64
65
66
# File 'app/controllers/logistics/core/operations_controller.rb', line 61

def assigned
  operations = Operation.where.not(owner_id: nil)
  data = ApplicationRecord.as_json(operations)
  response = Mks::Common::MethodResponse.new(true, nil, data, nil, nil)
  render json: response
end