summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2013-02-01 09:12:56 +0100
committerspag <spag@golwen.net>2013-02-01 09:12:56 +0100
commitd355193428c9e74180f1b278f88c7b56f3cd6bda (patch)
tree22d4d746f1d36d23b4ac5471641aefa8881d6d9c
parent4acda4279f11dc917b43aa7505ecb07d2161f0f6 (diff)
order by position
-rw-r--r--app/controllers/route_elements_controller.rb2
1 files changed, 1 insertions, 1 deletions
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