temp cleanup

This commit is contained in:
Andrew Tomaka 2015-04-28 10:52:27 -04:00
parent 482afa7ae2
commit 27a52c0933

3
app.rb
View file

@ -14,6 +14,9 @@ get '/' do
leaders = Leader.all.includes(:last_attack, :last_defense) leaders = Leader.all.includes(:last_attack, :last_defense)
@top20 = leaders.reject { |l| l.last_action } + leaders.select { |l| l.last_action }.sort_by { |l| l.last_action } @top20 = leaders.reject { |l| l.last_action } + leaders.select { |l| l.last_action }.sort_by { |l| l.last_action }
# temp cleanup
Raid.where('attacker = ? AND defender = ?', 'atomaka', 'mafiaman').destroy
erb :index erb :index
end end