diff options
| author | Zog | 2018-05-09 10:19:33 +0200 | 
|---|---|---|
| committer | Zog | 2018-05-09 10:19:33 +0200 | 
| commit | 64933b6903583b585f7de5bc391a9ab2ade1c6a7 (patch) | |
| tree | 844875f2cc8f62f9561e2b9b840dee2c6d2128d4 /app/controllers | |
| parent | 9434284e4f12b4b576762dabbd2b0a308e28bc61 (diff) | |
| download | chouette-core-64933b6903583b585f7de5bc391a9ab2ade1c6a7.tar.bz2 | |
Refs #6961; Update Workbench#edit
- Update the form
- Use policies and update the seeds accordingly
- Add a link in the navbar(s)
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/workbenches_controller.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/app/controllers/workbenches_controller.rb b/app/controllers/workbenches_controller.rb index 43415ff60..cecd071d8 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(:import_compliance_control_set_id, :merge_compliance_control_set_id) +    params.require(:workbench).permit(owner_compliance_control_set_ids: @workbench.workgroup.available_compliance_control_sets.keys)    end    def resource | 
