aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/compliance_checks_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/compliance_checks_controller.rb')
-rw-r--r--app/controllers/compliance_checks_controller.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/controllers/compliance_checks_controller.rb b/app/controllers/compliance_checks_controller.rb
index 81749e292..32a408336 100644
--- a/app/controllers/compliance_checks_controller.rb
+++ b/app/controllers/compliance_checks_controller.rb
@@ -1,4 +1,6 @@
class ComplianceChecksController < InheritedResources::Base
-
+ before_action do
+ @workbench = Workbench.find params[:workbench_id]
+ end
end