1
0
Fork 0

Sort by lost

This commit is contained in:
Andrew Tomaka 2015-04-28 11:53:49 -04:00
parent 1c2b05c2ba
commit 3b1325654b
1 changed files with 2 additions and 0 deletions

2
app.rb
View File

@ -58,5 +58,7 @@ get '/bossfight' do
}
end
@contributors = @contributors.sort_by { |c| c[:lost] }.reverse
erb :bossfight
end