Sort by lost
This commit is contained in:
parent
1c2b05c2ba
commit
3b1325654b
1 changed files with 2 additions and 0 deletions
2
app.rb
2
app.rb
|
@ -58,5 +58,7 @@ get '/bossfight' do
|
|||
}
|
||||
end
|
||||
|
||||
@contributors = @contributors.sort_by { |c| c[:lost] }.reverse
|
||||
|
||||
erb :bossfight
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue