From 5489c9482cb8658b8540da2b46bfd28f321d866e Mon Sep 17 00:00:00 2001 From: cedricnjanga Date: Wed, 22 Nov 2017 00:15:30 +0100 Subject: Fix the delation of the hacking of Chouette::ActiveRecord#model_name to remove the Chouette namespace off of the construction of link in the app and in other places. Added a small change in the reflex sync to set the stop_area_referential in the initialization of the object to be in sync with the work on the objectids (need a objectid_formatter) --- app/controllers/referential_lines_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/referential_lines_controller.rb') diff --git a/app/controllers/referential_lines_controller.rb b/app/controllers/referential_lines_controller.rb index 75e574da3..b9f8c0050 100644 --- a/app/controllers/referential_lines_controller.rb +++ b/app/controllers/referential_lines_controller.rb @@ -29,7 +29,7 @@ class ReferentialLinesController < ChouetteController @routes = ModelDecorator.decorate( @routes, - with: Chouette::RouteDecorator, + with: RouteDecorator, context: { referential: referential, line: @line -- cgit v1.2.3