aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/chouette/line.rb
diff options
context:
space:
mode:
authorXinhui2016-10-19 12:19:52 +0200
committerXinhui2016-10-19 15:24:34 +0200
commit3416c562e3b139594b7cd267cf32f03b3982fcc0 (patch)
tree0d61b24637ec5d55507083c6cf3eea191f4938aa /app/models/chouette/line.rb
parentdf75d5a41d71b06a12285153b7fb6616e575341b (diff)
downloadchouette-core-3416c562e3b139594b7cd267cf32f03b3982fcc0.tar.bz2
Model ReferentialMetadata
Refs #1782
Diffstat (limited to 'app/models/chouette/line.rb')
-rw-r--r--app/models/chouette/line.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/chouette/line.rb b/app/models/chouette/line.rb
index c3a867caa..f2e3a2b08 100644
--- a/app/models/chouette/line.rb
+++ b/app/models/chouette/line.rb
@@ -18,6 +18,8 @@ class Chouette::Line < Chouette::ActiveRecord
has_many :footnotes, :inverse_of => :line, :validate => :true, :dependent => :destroy
accepts_nested_attributes_for :footnotes, :reject_if => :all_blank, :allow_destroy => true
+ belongs_to_array_in_many :referential_metadatas
+
attr_reader :group_of_line_tokens
attr_accessor :transport_mode