aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers/time_tables_helper.rb
diff options
context:
space:
mode:
authorMarc Florisson2012-06-14 09:20:21 +0200
committerMarc Florisson2012-06-14 09:20:21 +0200
commitaac47f41318b3ccd980f482e0a9fd21433ace69b (patch)
treee5f991b4d481353d58e7727c35e3d8e04d5fd4fa /app/helpers/time_tables_helper.rb
parentcbd9618b0a9d4ea7f2b0733c134d1c85010f0a2f (diff)
parent1b9b836f25cd7af78c0ec5f48b999e1dea27fa97 (diff)
downloadchouette-core-aac47f41318b3ccd980f482e0a9fd21433ace69b.tar.bz2
merge and fix time_table_period form
Diffstat (limited to 'app/helpers/time_tables_helper.rb')
-rw-r--r--app/helpers/time_tables_helper.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/helpers/time_tables_helper.rb b/app/helpers/time_tables_helper.rb
index c5a6579d9..db9c1109e 100644
--- a/app/helpers/time_tables_helper.rb
+++ b/app/helpers/time_tables_helper.rb
@@ -6,7 +6,8 @@ module TimeTablesHelper
:end => l(time_table.bounding_dates.max))
end
def time_tables_shortest_info( vehicle)
- "#{l(vehicle.bounding_dates.min)} #{l(vehicle.bounding_dates.max)}"
+ return vehicle.bounding_dates.inspect
+ #"#{l(vehicle.bounding_dates.min)} #{l(vehicle.bounding_dates.max)}"
end
def time_tables_info( vehicle)
vehicle.time_tables.map do |time_table|