From 44d38ab6b6a05a56a73c443c62f4a88d1733f274 Mon Sep 17 00:00:00 2001 From: Zog Date: Tue, 16 Jan 2018 16:51:58 +0100 Subject: Refs #5586 @1h; Migrate TimeTableDecorator --- app/controllers/time_tables_controller.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'app/controllers/time_tables_controller.rb') diff --git a/app/controllers/time_tables_controller.rb b/app/controllers/time_tables_controller.rb index a0fa168f0..0707b9648 100644 --- a/app/controllers/time_tables_controller.rb +++ b/app/controllers/time_tables_controller.rb @@ -167,9 +167,8 @@ class TimeTablesController < ChouetteController end def decorate_time_tables(time_tables) - ModelDecorator.decorate( + TimeTableDecorator.decorate( time_tables, - with: TimeTableDecorator, context: { referential: @referential } -- cgit v1.2.3