Changed quickvotes so that they take an identifier as opposed to just a
[selectricity-live] / app / views / quickvote / success.rhtml
index d793a7ab6f089be0a4e380f452dfbc15ab5f7c89..8d2baf6a0e06d579a7c3c08c32553a4caeaefa12 100644 (file)
@@ -4,7 +4,7 @@
 <p>Please direct voters to:</p>
 
 <blockquote><strong>
-  <%= quickvote_url( :votename => @quickvote.name ) -%>
+  <%= quickvote_url( :ident => @quickvote.name ) -%>
 </strong></blockquote>
 
 <p>This vote will end on <em><%= @quickvote.enddate.strftime('%A, %B %d, %Y') %></em></p>
@@ -13,4 +13,4 @@
 HyperChad site. Voters do not need to log in or authenticate to
 participate in this election.</p>
 
-<p><%= link_to "Jump to QuickVote", quickvote_url( :votename => @quickvote.name ) %></p>
+<p><%= link_to "Jump to QuickVote", quickvote_url( :ident => @quickvote.name ) %></p>

Benjamin Mako Hill || Want to submit a patch?