From e0bc6590fdc84990d552e0d0710571f1d9907746 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 29 Jun 2018 10:30:22 +1000 Subject: [PATCH] minor cleanup --- app/models/report.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/report.rb b/app/models/report.rb index ff1372d7bc8..218a614136f 100644 --- a/app/models/report.rb +++ b/app/models/report.rb @@ -344,7 +344,7 @@ class Report User.real.group('trust_level').count.sort.each do |level, count| 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 } end end