FIX: stable ordering for site customisations
This commit is contained in:
parent
f23eb475a4
commit
ba68eee20b
|
@ -3,7 +3,7 @@ class Admin::SiteCustomizationsController < Admin::AdminController
|
||||||
before_filter :enable_customization
|
before_filter :enable_customization
|
||||||
|
|
||||||
def index
|
def index
|
||||||
@site_customizations = SiteCustomization.all
|
@site_customizations = SiteCustomization.order(:name)
|
||||||
|
|
||||||
respond_to do |format|
|
respond_to do |format|
|
||||||
format.json { render json: @site_customizations }
|
format.json { render json: @site_customizations }
|
||||||
|
|
Loading…
Reference in New Issue