diff options
| author | Zog | 2018-04-30 09:15:54 +0200 |
|---|---|---|
| committer | Zog | 2018-05-07 15:03:07 +0200 |
| commit | 7b336d1e47164a15c273f0899e8710e4fee273f8 (patch) | |
| tree | 2fe44c50cf876fa150f9a97c6d4f64389a79c6bb /app/models/workbench.rb | |
| parent | 657fea85b193fb9908dcaa42391bec230e93d857 (diff) | |
| download | chouette-core-7b336d1e47164a15c273f0899e8710e4fee273f8.tar.bz2 | |
Trigger compliance checks after imports
Diffstat (limited to 'app/models/workbench.rb')
| -rw-r--r-- | app/models/workbench.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/workbench.rb b/app/models/workbench.rb index 1c54e8904..14406c9f4 100644 --- a/app/models/workbench.rb +++ b/app/models/workbench.rb @@ -51,6 +51,10 @@ class Workbench < ApplicationModel where(name: DEFAULT_WORKBENCH_NAME).last end + def import_compliance_control_set + ComplianceControlSet.find(import_compliance_control_set_id) + end + private def initialize_output |
