From 983488065c7e8e30a6dda6cd0fbce9c3fa4c6622 Mon Sep 17 00:00:00 2001 From: Alban Peignier Date: Sun, 20 Nov 2016 22:03:59 +0100 Subject: Sort line routes in ReferentialLinesController#show --- 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 d767cb151..fb53e4959 100644 --- a/app/controllers/referential_lines_controller.rb +++ b/app/controllers/referential_lines_controller.rb @@ -22,7 +22,7 @@ class ReferentialLinesController < ChouetteController def show @map = LineMap.new(resource).with_helpers(self) - @routes = @line.routes + @routes = @line.routes.order(:name) @group_of_lines = @line.group_of_lines show! do build_breadcrumb :show -- cgit v1.2.3