improved pool interface

This commit is contained in:
albert
2011-03-04 18:50:38 -05:00
parent e431452a11
commit a281bf03ed
11 changed files with 105 additions and 18 deletions

View File

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