order by collectino title
This commit is contained in:
parent
3e39940dfd
commit
225d68138e
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ class CollectionsController < ApplicationController
|
|||
before_filter :require_role_admin, :only => [:new, :create, :edit, :update, :destroy]
|
||||
|
||||
def index
|
||||
@collections = Collection.find(:all)
|
||||
@collections = Collection.find(:all, :order => 'title')
|
||||
respond_to do |format|
|
||||
format.html
|
||||
format.json { render :json => @collections }
|
||||
|
|
Loading…
Reference in a new issue