diff options
| -rw-r--r-- | app/controllers/compliance_checks_controller.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/app/controllers/compliance_checks_controller.rb b/app/controllers/compliance_checks_controller.rb index 32a408336..f6659ab9f 100644 --- a/app/controllers/compliance_checks_controller.rb +++ b/app/controllers/compliance_checks_controller.rb @@ -1,6 +1,4 @@ class ComplianceChecksController < InheritedResources::Base - before_action do - @workbench = Workbench.find params[:workbench_id] - end - + belongs_to :workbench + belongs_to :compliance_check_set end |
