aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/workbench.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/workbench.rb')
-rw-r--r--app/models/workbench.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/workbench.rb b/app/models/workbench.rb
index 64e9ae92d..1bca91c56 100644
--- a/app/models/workbench.rb
+++ b/app/models/workbench.rb
@@ -61,6 +61,10 @@ class Workbench < ApplicationModel
id.present? && ComplianceControlSet.find(id)
end
+ def compliance_control_set_ids=(compliance_control_set_ids)
+ self.owner_compliance_control_set_ids = (owner_compliance_control_set_ids || {}).merge compliance_control_set_ids
+ end
+
private
def initialize_output