Renamed "elections" controller to "election."
[selectricity] / app / views / elections / _winner.rhtml
diff --git a/app/views/elections/_winner.rhtml b/app/views/elections/_winner.rhtml
deleted file mode 100644 (file)
index 531e0d2..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-<% %>
-
-<% if @winners.length > 1 %>
-  <p>There were multiple winners for the election. The winners (tied)
-  were:
-
-  <ul>
-  <% for candidate in @winners %>
-    <li><%= @candidates_by_id[candidate].name %></li>
-  <% end %>
-  </ul>
-
-<% else %>
-
-  <% winner = @winners[0] %>
-  <p>The winner of the election was:
-     <strong><%= @candidates_by_id[winner].name %></strong>
-  </p>
-
-<% end %>
-

Benjamin Mako Hill || Want to submit a patch?