aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/workbenches_controller.rb
diff options
context:
space:
mode:
authorAlban Peignier2018-05-09 15:15:05 +0200
committerAlban Peignier2018-05-09 15:15:05 +0200
commit9684831ac650d633ddfab1062e2285f9482b1157 (patch)
tree7e4b30940d05db3ebcdd12d7daf9877f803880cf /app/controllers/workbenches_controller.rb
parent64933b6903583b585f7de5bc391a9ab2ade1c6a7 (diff)
downloadchouette-core-9684831ac650d633ddfab1062e2285f9482b1157.tar.bz2
Rewrite compliance_control_sets associated to workbench or workgroup edits and imports. Refs #6960
Diffstat (limited to 'app/controllers/workbenches_controller.rb')
-rw-r--r--app/controllers/workbenches_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/workbenches_controller.rb b/app/controllers/workbenches_controller.rb
index cecd071d8..1432518dc 100644
--- a/app/controllers/workbenches_controller.rb
+++ b/app/controllers/workbenches_controller.rb
@@ -42,7 +42,7 @@ class WorkbenchesController < ChouetteController
private
def workbench_params
- params.require(:workbench).permit(owner_compliance_control_set_ids: @workbench.workgroup.available_compliance_control_sets.keys)
+ params.require(:workbench).permit(owner_compliance_control_set_ids: @workbench.workgroup.compliance_control_sets_by_workbench.keys)
end
def resource