myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [3070] trunk/app/views/contributions/_statistics_


From: noreply
Subject: [myexperiment-hackers] [3070] trunk/app/views/contributions/_statistics_detailed.rhtml: fixed broken stats page
Date: Thu, 2 Aug 2012 14:58:02 +0000 (UTC)

Revision
3070
Author
dgc
Date
2012-08-02 14:58:02 +0000 (Thu, 02 Aug 2012)

Log Message

fixed broken stats page

Modified Paths

Diff

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 %>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]