Cleaned up User admin index

This commit is contained in:
2013-01-24 02:35:14 -05:00
parent 75f594f9ea
commit 0fe499b701
3 changed files with 13 additions and 9 deletions

View File

@@ -7,7 +7,7 @@ class UsersController < ApplicationController
# GET /users
# GET /users.json
def index
@users = User.all
@users = Kaminari.paginate_array(User.all).page(params[:page]).per(10)
respond_to do |format|
format.html # index.html.erb