X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9f8e4fd60a7daeb5fdc4623102eed7131b9f52ca..f0d05c20ae4cbf05eac73ece0d0357bc2c33bbad:/app/controllers/users_controller.rb?ds=inline diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index b9f1af807..c55a177b4 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -36,6 +36,7 @@ class UsersController < ApplicationController users = users.where(:status => @params[:status]) if @params[:status] users = users.where(:creation_ip => @params[:ip]) if @params[:ip] + @users_count = users.count @users, @newer_users_id, @older_users_id = get_page_items(users, :limit => 50) end end