aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/routes_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/routes_controller.rb')
-rw-r--r--app/controllers/routes_controller.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/controllers/routes_controller.rb b/app/controllers/routes_controller.rb
index 79f49143a..af5a9a91b 100644
--- a/app/controllers/routes_controller.rb
+++ b/app/controllers/routes_controller.rb
@@ -47,10 +47,7 @@ class RoutesController < ChouetteController
line: @line
})
- @route_sp = ModelDecorator.decorate(
- @route_sp,
- with: StopPointDecorator
- )
+ @route_sp = StopPointDecorator.decorate(@route_sp)
end
end