aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/time_tables_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/time_tables_controller.rb')
-rw-r--r--app/controllers/time_tables_controller.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/time_tables_controller.rb b/app/controllers/time_tables_controller.rb
index 00109aa76..b2fdf711b 100644
--- a/app/controllers/time_tables_controller.rb
+++ b/app/controllers/time_tables_controller.rb
@@ -1,4 +1,5 @@
class TimeTablesController < ChouetteController
+ include TimeTablesHelper
defaults :resource_class => Chouette::TimeTable
respond_to :html
respond_to :xml
@@ -35,7 +36,7 @@ class TimeTablesController < ChouetteController
def filtered_time_tables_maps
filtered_time_tables.collect do |time_table|
- { :id => time_table.id, :name => time_table.comment }
+ { :id => time_table.id, :name => time_table_description(time_table) }
end
end
def filtered_time_tables