Permalink
Browse files

Show all users on User#index

  • Loading branch information...
Ricardo Panaggio
Ricardo Panaggio committed Nov 17, 2011
1 parent 3951323 commit c3ae0b0f0ab2366292477e237c4ab4b7585603b3
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers/users_controller.rb
@@ -17,7 +17,7 @@ def index
:page => params[:page] || 1}
options[:login] = /^#{Regexp.escape(params[:q])}/ if params[:q]
- @users = current_group.paginate_users(options)
+ @users = User.paginate(options)
respond_to do |format|
format.html

0 comments on commit c3ae0b0

Please sign in to comment.