This commit is contained in:
albert
2013-02-17 01:38:34 -05:00
parent 3d9f5e20c6
commit 6ba9b015e4
7 changed files with 8 additions and 7 deletions

View File

@@ -16,7 +16,7 @@ class PoolsController < ApplicationController
def index
@search = Pool.active.search(params[:search])
@pools = @search.paginate(params[:page])
@pools = @search.paginate(params[:page]).order("name")
respond_with(@pools)
end