From 763010ced3202c99f705562a373861f926aad9a1 Mon Sep 17 00:00:00 2001 From: cedricnjanga Date: Tue, 21 Nov 2017 15:32:22 +0100 Subject: Change the way we name classes We now always use modules for namespaces => same structure for models, decorators, policies... --- app/controllers/lines_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/lines_controller.rb') diff --git a/app/controllers/lines_controller.rb b/app/controllers/lines_controller.rb index cf2908500..49a8ca2c5 100644 --- a/app/controllers/lines_controller.rb +++ b/app/controllers/lines_controller.rb @@ -15,7 +15,7 @@ class LinesController < InheritedResources::Base index! do |format| @lines = ModelDecorator.decorate( @lines, - with: LineDecorator, + with: Chouette::LineDecorator, context: { line_referential: @line_referential, current_organisation: current_organisation -- cgit v1.2.3