This commit is contained in:
albert
2012-03-12 17:50:45 -04:00
parent d5569bed5b
commit dd5a965884
17 changed files with 118 additions and 63 deletions

View File

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