Commit fb9c4e9780caf1ab4c4cb86b9a728d34360fd3ba

Authored by Tracey Eubanks
1 parent db0d9289
Exists in master and in 1 other branch production

fixed user pagination error

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/controllers/users_controller.rb
... ... @@ -6,7 +6,7 @@ class UsersController < ApplicationController
6 6 before_filter :require_user_edit_priviledges, :only => [:edit, :update]
7 7  
8 8 def index
9   - @users = User.paginate(:page => params[:page], :per_page => current_user.per_page)
  9 + @users = User.all.paginate(:page => params[:page], :per_page => current_user.per_page)
10 10 end
11 11  
12 12 def show
... ...