aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/referential.rb
diff options
context:
space:
mode:
authorAlban Peignier2012-04-30 17:21:56 +0200
committerAlban Peignier2012-04-30 17:21:56 +0200
commit0734804c6b5b559b6609aa9b04c032def72055ed (patch)
tree501cd4d610563fefbf49e702fe7a10d3cb259dfb /app/models/referential.rb
parenta51e50beaefa809d2ed9fd9d7a8afe73e0cca3a8 (diff)
parent3ceaf79784bc78563a7c58b5003f709cc9b3af1e (diff)
downloadchouette-core-0734804c6b5b559b6609aa9b04c032def72055ed.tar.bz2
Merge branch 'master' of chouette.dryade.priv:/srv/git/chouette2
Conflicts: Gemfile.lock
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?