From ba68eee20b3ec8583753854cb0e8b14205fdb045 Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 22 Dec 2014 16:20:06 +1100 Subject: [PATCH] FIX: stable ordering for site customisations --- app/controllers/admin/site_customizations_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin/site_customizations_controller.rb b/app/controllers/admin/site_customizations_controller.rb index 4c3f671da..73ac7e734 100644 --- a/app/controllers/admin/site_customizations_controller.rb +++ b/app/controllers/admin/site_customizations_controller.rb @@ -3,7 +3,7 @@ class Admin::SiteCustomizationsController < Admin::AdminController before_filter :enable_customization def index - @site_customizations = SiteCustomization.all + @site_customizations = SiteCustomization.order(:name) respond_to do |format| format.json { render json: @site_customizations }