Skip to content

Commit

Permalink
Rails3 don't implicitly apply to_s sometimes…
Browse files Browse the repository at this point in the history
  • Loading branch information
ook committed Dec 9, 2010
1 parent 45ae9db commit a060657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/admin/tags/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<tr <%= alternate_class %>>
<td> <%= link_to_edit tag.display_name, tag %></td>
<td><%= tag.name %></td>
<td><%= link_to_permalink tag, tag.published_articles.count %></td>
<td><%= link_to_permalink tag, tag.published_articles.count.to_s %></td>
</tr>
<% end %>
<%= display_pagination(@tags, 3)%>
Expand Down

0 comments on commit a060657

Please sign in to comment.