]> projects.mako.cc - selectricity/blobdiff - app/views/quickvote/results.rhtml
Updated the "votes_per_day" method in graph controller to work better and
[selectricity] / app / views / quickvote / results.rhtml
index 7152072d4c54d26c641842f880f3c9384296ca84..030d2467d925d6d49282e988cdd1bbdf1e79987f 100644 (file)
@@ -162,6 +162,8 @@ by several other names.</p>
 <% end %>
 </table>
 
-<img src="<% url_for(:action => 'day_votes', :id => @election)%>" />
-<%= image_tag( graph_url( :action => 'day_votes', :id => @election ) ) %>
-<%= image_tag( graph_url( :action => 'show' ) ) %>
+<%= image_tag( graph_url( :action => 'votes_per_day', :id => @election ) ) %><br />
+<%= image_tag( graph_url(:action => 'votes_per_interval', :id => @election)) %>
+
+
+

Benjamin Mako Hill || Want to submit a patch?