[116791] branches/gsoc11-statistics/stats-server/app/views/partials/ _chart_draw.html.erb
cal at macports.org
cal at macports.org
Fri Feb 7 11:31:44 PST 2014
Revision: 116791
https://trac.macports.org/changeset/116791
Author: cal at macports.org
Date: 2014-02-07 11:31:44 -0800 (Fri, 07 Feb 2014)
Log Message:
-----------
macports stats: fix error with rails 3.2
Modified Paths:
--------------
branches/gsoc11-statistics/stats-server/app/views/partials/_chart_draw.html.erb
Modified: branches/gsoc11-statistics/stats-server/app/views/partials/_chart_draw.html.erb
===================================================================
--- branches/gsoc11-statistics/stats-server/app/views/partials/_chart_draw.html.erb 2014-02-07 19:30:37 UTC (rev 116790)
+++ branches/gsoc11-statistics/stats-server/app/views/partials/_chart_draw.html.erb 2014-02-07 19:31:44 UTC (rev 116791)
@@ -55,15 +55,15 @@
<% if not controller.dataset_empty? chart %>
<%# Draw visualization %>
- <% visualization chart, type, vis_options do |visualization| %>
- <% controller.populate_chart chart, visualization %>
+ <% visualization chart.to_s, type, vis_options do |viz| %>
+ <% controller.populate_chart chart, viz %>
<% end %>
<% if drawtables %>
<%# Draw table %>
<% table = chart.to_s + "_table" %>
- <% visualization table, "Table", table_options do |visualization| %>
- <% controller.populate_chart chart, visualization %>
+ <% visualization table, "Table", table_options do |viz| %>
+ <% controller.populate_chart chart, viz %>
<% end %>
<% end %>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140207/5c6cabaa/attachment-0001.html>
More information about the macports-changes
mailing list