minor cleanup

This commit is contained in:
Sam 2018-06-29 10:30:22 +10:00
parent 982df3c17b
commit e0bc6590fd
1 changed files with 1 additions and 1 deletions

View File

@ -344,7 +344,7 @@ class Report
User.real.group('trust_level').count.sort.each do |level, count| User.real.group('trust_level').count.sort.each do |level, count|
key = TrustLevel.levels[level.to_i] key = TrustLevel.levels[level.to_i]
url = Proc.new { |key| "/admin/users/list/#{key}" } url = Proc.new { |k| "/admin/users/list/#{k}" }
report.data << { url: url.call(key), key: key, x: level.to_i, y: count } report.data << { url: url.call(key), key: key, x: level.to_i, y: count }
end end
end end