aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/compliance_checks_controller.rb
diff options
context:
space:
mode:
authorZog2018-02-23 16:32:35 +0100
committerZog2018-02-23 16:32:35 +0100
commit0a91ae5d80e476f967160e1987cc7e63beabea94 (patch)
tree537230f36225698bfb45caf97490304a6dbb57c1 /app/controllers/compliance_checks_controller.rb
parent206bf218e1b84dbe53683ec2e3f983cd30f7ded1 (diff)
downloadchouette-core-0a91ae5d80e476f967160e1987cc7e63beabea94.tar.bz2
Refs 5878; Add ComplianceCheck#show
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