diff options
Diffstat (limited to 'app/models/referential.rb')
| -rw-r--r-- | app/models/referential.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/app/models/referential.rb b/app/models/referential.rb index 0063244e8..d8731a8d3 100644 --- a/app/models/referential.rb +++ b/app/models/referential.rb @@ -30,6 +30,7 @@ class Referential < ActiveRecord::Base has_many :lines, through: :line_referential has_many :companies, through: :line_referential has_many :group_of_lines, through: :line_referential + has_many :networks, through: :line_referential belongs_to :stop_area_referential # validates_presence_of :stop_area_referential @@ -59,10 +60,6 @@ class Referential < ActiveRecord::Base self.class.human_attribute_name(*args) end - def networks - Chouette::Network.all - end - def stop_areas Chouette::StopArea.all end |
