Sort by lost

This commit is contained in:
Andrew Tomaka 2015-04-28 11:53:49 -04:00
parent 1c2b05c2ba
commit 3b1325654b

2
app.rb
View file

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