Remove unused private method
This commit is contained in:
parent
03a86f89af
commit
8306271bd9
1 changed files with 0 additions and 9 deletions
|
@ -1,6 +1,4 @@
|
||||||
|
|
||||||
class Statistics < Rails::Application
|
class Statistics < Rails::Application
|
||||||
|
|
||||||
def shameful_users
|
def shameful_users
|
||||||
User.humans
|
User.humans
|
||||||
.where('-balance > :amount', amount: config.shameful_balance)
|
.where('-balance > :amount', amount: config.shameful_balance)
|
||||||
|
@ -32,12 +30,5 @@ class Statistics < Rails::Application
|
||||||
.count
|
.count
|
||||||
.take([shameful_users.count, 4].max)
|
.take([shameful_users.count, 4].max)
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
|
||||||
|
|
||||||
def zeus_balance
|
|
||||||
User.zeus.balance
|
|
||||||
end
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue