diff options
| author | Alban Peignier | 2018-05-09 15:41:06 +0200 |
|---|---|---|
| committer | Alban Peignier | 2018-05-09 15:41:06 +0200 |
| commit | d0ab0eb848a96587ac0e0ab26db962c15e559185 (patch) | |
| tree | c6fbe30673b7bffac514b6e264b228bed5b7311d /app/models | |
| parent | 9684831ac650d633ddfab1062e2285f9482b1157 (diff) | |
| download | chouette-core-d0ab0eb848a96587ac0e0ab26db962c15e559185.tar.bz2 | |
Associate ComplianceControlSet with parent operation when created. Refs #6960
Diffstat (limited to 'app/models')
| -rw-r--r-- | app/models/import/resource.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/import/resource.rb b/app/models/import/resource.rb index 343eb9b7d..43690755d 100644 --- a/app/models/import/resource.rb +++ b/app/models/import/resource.rb @@ -24,7 +24,7 @@ class Import::Resource < ApplicationModel next unless (control_set = workbench.compliance_control_set(key)).present? compliance_check_set = workbench_import_check_set key if compliance_check_set.nil? - ComplianceControlSetCopyWorker.perform_async control_set.id, referential_id + ComplianceControlSetCopyWorker.perform_async control_set.id, referential_id, root_import.class.name, root_import.id end end end |
