Permalink
Browse files

reverse the gain ratios in the table on the page

  • Loading branch information...
1 parent da97fbd commit 9fbe68c3476f4bbb0fe72ddf7ff41a9416c34e51 @Capncavedan committed Nov 15, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 views/index.erb
View
@@ -49,7 +49,7 @@
<% @calculator.chainring_sizes.each_with_index do |chainring_size, idx| %>
<tr>
<th><%= chainring_size %></th>
- <% @calculator.gain_ratios[idx].each do |gain_ratio| %>
+ <% @calculator.gain_ratios[idx].reverse.each do |gain_ratio| %>
<td><%= gain_ratio %></td>
<% end %>
</tr>

0 comments on commit 9fbe68c

Please sign in to comment.