From d355193428c9e74180f1b278f88c7b56f3cd6bda Mon Sep 17 00:00:00 2001 From: spag Date: Fri, 1 Feb 2013 09:12:56 +0100 Subject: order by position --- app/controllers/route_elements_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/controllers/route_elements_controller.rb b/app/controllers/route_elements_controller.rb index c4e4c1a..9c6f2b7 100644 --- a/app/controllers/route_elements_controller.rb +++ b/app/controllers/route_elements_controller.rb @@ -5,7 +5,7 @@ class RouteElementsController < ApplicationController before_filter :spread_breadcrumbs def index - @route_elements = @call_route.route_elements + @route_elements = @call_route.route_elements.order([:position]) end def show -- cgit v1.2.3