aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/referential.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/referential.rb')
-rw-r--r--app/models/referential.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/referential.rb b/app/models/referential.rb
index dd5908b8b..8faeea170 100644
--- a/app/models/referential.rb
+++ b/app/models/referential.rb
@@ -21,6 +21,10 @@ class Referential < ActiveRecord::Base
def time_tables
Chouette::TimeTable.scoped
end
+
+ def connection_links
+ Chouette::ConnectionLink.scoped
+ end
def switch
raise "Referential not created" if new_record?