revert cleanup
This commit is contained in:
parent
8c610d9546
commit
8d85ef6256
1 changed files with 0 additions and 3 deletions
3
app.rb
3
app.rb
|
@ -14,9 +14,6 @@ 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_all
|
|
||||||
|
|
||||||
erb :index
|
erb :index
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue