aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/referential.rb
diff options
context:
space:
mode:
authorAlban Peignier2018-04-02 23:19:48 +0200
committerAlban Peignier2018-04-02 23:19:48 +0200
commit1e9ed69dc7509ffc6c0ae1a401c04d57dbbea45a (patch)
treeed5eabf542ba844eafd605620cbc35dd72e4134f /app/models/referential.rb
parentecba5b99bb8eae41507d1040f32584472b740d26 (diff)
downloadchouette-core-1e9ed69dc7509ffc6c0ae1a401c04d57dbbea45a.tar.bz2
Import TimeTableDates from calendar dates. Refs #6368
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 65af58873..70148aa8e 100644
--- a/app/models/referential.rb
+++ b/app/models/referential.rb
@@ -168,6 +168,10 @@ class Referential < ActiveRecord::Base
Chouette::TimeTable.all
end
+ def time_table_dates
+ Chouette::TimeTableDate.all
+ end
+
def timebands
Chouette::Timeband.all
end