Modified: trunk/app/views/contributions/_statistics_detailed.rhtml (3069 => 3070)
--- trunk/app/views/contributions/_statistics_detailed.rhtml 2012-08-01 13:27:51 UTC (rev 3069)
+++ trunk/app/views/contributions/_statistics_detailed.rhtml 2012-08-02 14:58:02 UTC (rev 3070)
@@ -13,7 +13,7 @@
<ul class="sectionIcons">
- <li><%= icon(contributable.class.to_s.downcase, eval("#{contributable_display_type.downcase}_path(#{contributable.id})"), nil, nil, "Back to the #{contributable_display_type}") %></li>
+ <li><%= icon(contributable.class.to_s.downcase, polymorphic_path(contributable), nil, nil, "Back to the #{contributable_display_type}") %></li>
</ul>
<% # this will be changed to display the correct thing after event logging branch is merged into trunk %>