QuickVotes are now displayed in the control panel list - and you can click on
author<jlsharps@mit.edu> <>
Fri, 9 May 2008 21:31:56 +0000 (17:31 -0400)
committer<jlsharps@mit.edu> <>
Fri, 9 May 2008 21:31:56 +0000 (17:31 -0400)
them. They aren't specially marked yet though.

app/controllers/election_controller.rb

index 6faaf22bd0f28548b407b1a4bc6a0e7d0a2b91ea..bfef0215377bc7547616dd343c81ecf8226aee83 100644 (file)
@@ -76,6 +76,10 @@ class ElectionController < ApplicationController
                                         :locals => { :page => 'review' }
 
     @election = Election.find(params[:id])
+    if @election.type == QuickVote
+      redirect_to(:controller => 'quickvote', :action => 'index', :ident => @election.id)
+    end
+      
   end
 
   def start_election

Benjamin Mako Hill || Want to submit a patch?