aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorZog2018-01-16 16:51:58 +0100
committerZog2018-01-25 17:17:59 +0100
commit44d38ab6b6a05a56a73c443c62f4a88d1733f274 (patch)
tree6f93498e6d2316d27590803598dfea728caa459f /app/controllers
parent04e6d933e2c140dbdd24e29a6139d74fab3c386d (diff)
downloadchouette-core-44d38ab6b6a05a56a73c443c62f4a88d1733f274.tar.bz2
Refs #5586 @1h; Migrate TimeTableDecorator
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/time_tables_controller.rb3
1 files changed, 1 insertions, 2 deletions
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
}