Changed quickvotes so that they take an identifier as opposed to just a
[selectricity] / app / views / quickvote / success.rhtml
old mode 100755 (executable)
new mode 100644 (file)
index d793a7a..8d2baf6
@@ -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?