Skip to content
Browse files

fix for milage misshowing

  • Loading branch information...
1 parent c06c8cc commit 50744b4ced41ac752ec17e84d5152ea66ad583f8 @chrissloan chrissloan committed Feb 16, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/places/show.html.erb
View
2 app/views/places/show.html.erb
@@ -69,7 +69,7 @@
<% group.each do |distance| %>
<li>
<% if params[:distance].to_i == distance*10 %>
- <%= distance %> miles
+ <%= distance*10 %> miles
<% else %>
<%= link_to "#{distance*10} miles", place_path(@place, params.merge({:distance => distance*10})) %>
<% end %>

0 comments on commit 50744b4

Please sign in to comment.
Something went wrong with that request. Please try again.