diff options
| author | Zog | 2018-02-23 16:32:35 +0100 |
|---|---|---|
| committer | Zog | 2018-02-23 16:32:35 +0100 |
| commit | 0a91ae5d80e476f967160e1987cc7e63beabea94 (patch) | |
| tree | 537230f36225698bfb45caf97490304a6dbb57c1 /app/controllers/compliance_checks_controller.rb | |
| parent | 206bf218e1b84dbe53683ec2e3f983cd30f7ded1 (diff) | |
| download | chouette-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.rb | 4 |
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 |
