aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/workbench.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/workbench.rb')
-rw-r--r--app/models/workbench.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/workbench.rb b/app/models/workbench.rb
index 4023c221b..30692e625 100644
--- a/app/models/workbench.rb
+++ b/app/models/workbench.rb
@@ -9,6 +9,8 @@ class Workbench < ActiveRecord::Base
has_many :group_of_lines, through: :line_referential
has_many :stop_areas, through: :stop_area_referential
has_many :imports
+ has_many :workbench_imports
+
validates :name, presence: true
validates :organisation, presence: true