From 1e9ed69dc7509ffc6c0ae1a401c04d57dbbea45a Mon Sep 17 00:00:00 2001 From: Alban Peignier Date: Mon, 2 Apr 2018 23:19:48 +0200 Subject: Import TimeTableDates from calendar dates. Refs #6368 --- app/models/referential.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/models/referential.rb') 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 -- cgit v1.2.3