temp cleanup
This commit is contained in:
parent
482afa7ae2
commit
27a52c0933
1 changed files with 3 additions and 0 deletions
3
app.rb
3
app.rb
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue