aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/line_referential.rb
diff options
context:
space:
mode:
authorEdouard Maffert2016-09-09 14:48:40 +0200
committerEdouard Maffert2016-09-09 14:48:40 +0200
commit4747990c6d3ceb5020d06099d086500b066db6e4 (patch)
tree1a2edc21344b1ed67a2a2d91affd522d533b3732 /app/models/line_referential.rb
parentec8233bf59eed3edbdcf6ebf3b8812ec3d7f7ee7 (diff)
parentbb12088efba8d755bf29d2edb0309b59953e14f5 (diff)
downloadchouette-core-4747990c6d3ceb5020d06099d086500b066db6e4.tar.bz2
Merge branch 'companies_line_referential_association'
Diffstat (limited to 'app/models/line_referential.rb')
-rw-r--r--app/models/line_referential.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/line_referential.rb b/app/models/line_referential.rb
index 85464f5af..7592bb5f1 100644
--- a/app/models/line_referential.rb
+++ b/app/models/line_referential.rb
@@ -4,6 +4,7 @@ class LineReferential < ActiveRecord::Base
has_many :lines, class_name: 'Chouette::Line'
has_many :group_of_lines, class_name: 'Chouette::GroupOfLine'
+ has_many :companies, class_name: 'Chouette::Company'
has_one :line_referential_sync