fix for pool selection

This commit is contained in:
albert
2013-02-19 13:30:55 -05:00
parent 6ab2bc3a70
commit e7aff87c65
7 changed files with 8 additions and 12 deletions

View File

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