aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers/time_tables_helper.rb
diff options
context:
space:
mode:
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|