导出所有用户13---all
This commit is contained in:
parent
c69b89da96
commit
21c6a0ad0d
|
@ -50,7 +50,7 @@ class AdminController < ApplicationController
|
||||||
cycle = params[:cycle]
|
cycle = params[:cycle]
|
||||||
g = Gitlab.client
|
g = Gitlab.client
|
||||||
users_results = []
|
users_results = []
|
||||||
User.first(13).each do |user|
|
User.all.each do |user|
|
||||||
unless user.mail.nil?
|
unless user.mail.nil?
|
||||||
user_mail = user.mail
|
user_mail = user.mail
|
||||||
user.projects.where("gpid is not null").each do |project|
|
user.projects.where("gpid is not null").each do |project|
|
||||||
|
|
Loading…
Reference in New Issue