* VRFS-1505 - adding sorting to genres in controller

This commit is contained in:
Seth Call 2014-09-12 06:29:10 -05:00
parent b603d7d253
commit 770d0acd42
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ class ApiGenresController < ApiController
respond_to :json
def index
@genres = Genre.find(:all)
@genres = Genre.order(:description)
end
def show