]> projects.mako.cc - selectricity/blobdiff - app/views/election/_candidate_list.rhtml
Add my name to README
[selectricity] / app / views / election / _candidate_list.rhtml
old mode 100644 (file)
new mode 100755 (executable)
index ca8a5cc..74d4c3c
@@ -1,7 +1,7 @@
 <% %>
 <ul id="candidate_list">
   <% @election.candidates.each do |candidate| %>
-    <% @candidate = candidate %>
+    <% @current_candidate = candidate %>
       <%= render :partial => 'candidate_line' %>
     <% end %>
 </ul>

Benjamin Mako Hill || Want to submit a patch?