diff options
| author | Alban Peignier | 2016-11-20 22:03:59 +0100 |
|---|---|---|
| committer | Alban Peignier | 2016-11-20 22:10:33 +0100 |
| commit | 983488065c7e8e30a6dda6cd0fbce9c3fa4c6622 (patch) | |
| tree | 2dd4dbc4198f4dc1f48337f771e03f4f155f2cab /app/controllers | |
| parent | 9d9de3e0727eff7b585c6e9ebeb91b8f6811b893 (diff) | |
| download | chouette-core-983488065c7e8e30a6dda6cd0fbce9c3fa4c6622.tar.bz2 | |
Sort line routes in ReferentialLinesController#show
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/referential_lines_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
