From 8306271bd9b8b2aa45958172dcda4df21e461fd7 Mon Sep 17 00:00:00 2001 From: benji Date: Wed, 17 Feb 2016 15:20:12 +0100 Subject: [PATCH] Remove unused private method --- app/controllers/concerns/statistics.rb | 9 --------- 1 file changed, 9 deletions(-) diff --git a/app/controllers/concerns/statistics.rb b/app/controllers/concerns/statistics.rb index a74cd3b..ce17079 100644 --- a/app/controllers/concerns/statistics.rb +++ b/app/controllers/concerns/statistics.rb @@ -1,6 +1,4 @@ - class Statistics < Rails::Application - def shameful_users User.humans .where('-balance > :amount', amount: config.shameful_balance) @@ -32,12 +30,5 @@ class Statistics < Rails::Application .count .take([shameful_users.count, 4].max) end - - private - - def zeus_balance - User.zeus.balance - end - end