FIX: stable ordering for site customisations

This commit is contained in:
Sam 2014-12-22 16:20:06 +11:00
parent f23eb475a4
commit ba68eee20b
1 changed files with 1 additions and 1 deletions

View File

@ -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 }