aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/workbench.rb
diff options
context:
space:
mode:
authorZog2018-03-07 11:35:25 +0100
committerZog2018-03-12 12:00:14 +0100
commit1245099459bd3d7dce71fdf0d7c95b2377a0034e (patch)
treec17f2c4bd68fc6ad4eedead96e1106954d7093e4 /app/models/workbench.rb
parent0b9269780989dbd69a9be9d63670aab12050cf60 (diff)
downloadchouette-core-1245099459bd3d7dce71fdf0d7c95b2377a0034e.tar.bz2
Refs #6133; First Crud for exports
Diffstat (limited to 'app/models/workbench.rb')
-rw-r--r--app/models/workbench.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/workbench.rb b/app/models/workbench.rb
index 44415f102..b5f4673bb 100644
--- a/app/models/workbench.rb
+++ b/app/models/workbench.rb
@@ -14,6 +14,7 @@ class Workbench < ActiveRecord::Base
has_many :group_of_lines, through: :line_referential
has_many :stop_areas, through: :stop_area_referential
has_many :imports, class_name: Import::Base
+ has_many :exports, class_name: Export::Base
has_many :workbench_imports, class_name: Import::Workbench
has_many :compliance_check_sets
has_many :compliance_control_sets