]> projects.mako.cc - selectricity-live/blobdiff - app/controllers/quickvote_controller.rb
Conditional that redircts to user profile page if too many elections in control panel...
[selectricity-live] / app / controllers / quickvote_controller.rb
index fbf53d3f0f3347e06c18dc61ec92a42a27f6f5fa..768bdea261ba28000363e25e4da6d3c24b61e7e9 100644 (file)
@@ -138,6 +138,7 @@ class QuickvoteController < ApplicationController
   end
 
   def confirm
+    
     # we need the election to verify that we have the right voter
     election = QuickVote.ident_to_quickvote(params[:ident])
 
@@ -145,7 +146,7 @@ class QuickvoteController < ApplicationController
     @voter = QuickVoter.find(:all,
       :conditions => ["session_id = ? and election_id = ?", 
                       session.session_id, election.id])[0]
-  
+   
     if not @voter
       # we have not seen this  voter before. something is wrong, try
       # again

Benjamin Mako Hill || Want to submit a patch?