Cleaned up User admin index

This commit is contained in:
ricky committed 2013-01-24 02:35:14 -05:00
1 parent 75f594f9ea
commit 0fe499b701
3 files changed
+13 -9

No files matched your search

+1 -1
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