Permalink
Browse files

Fixed links

  • Loading branch information...
1 parent f39b74c commit 6812502c01aa4d03831ad08e9b10bbc5770f55dd @paulmwatson committed Mar 18, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/cities/index.html.erb
@@ -13,7 +13,7 @@
<% @topten_cities.each do |mention|%>
<% i = i + 1%>
<%- city = mention.city -%>
- <li><a href="/<%= city.country %>/<%= city.name %>"><span class="city"><span class="toptencount"><%= "%02d" % i %></span> <%= city.name %></span> <span id="city_graph_<%= city.id %>" class="tiny_graph"><% @trend[city.id].each do |hour| %><%= hour %>,<% end %></span></a></li>
+ <li><a href="/<%= city.country %>/<%= city.name.gsub('.','%2E') %>"><span class="city"><span class="toptencount"><%= "%02d" % i %></span> <%= city.name %></span> <span id="city_graph_<%= city.id %>" class="tiny_graph"><% @trend[city.id].each do |hour| %><%= hour %>,<% end %></span></a></li>
<% end %>
</ol>
<h1>All Cities</h1>

0 comments on commit 6812502

Please sign in to comment.