]> projects.mako.cc - selectricity/blobdiff - app/controllers/quickvote_controller.rb
fixed a large number of bugs in the software (see wiki) over a days work
[selectricity] / app / controllers / quickvote_controller.rb
index 5bf89c775b18026810fa74b89bcea3fe5184ec0b..066fd6ba463635c12af56ea07b9e5e449d998294 100644 (file)
@@ -44,6 +44,7 @@ class QuickvoteController < ApplicationController
 
       #Give registered users additional QuickVote functionality 
       @quickvote.user_id = session[:user][:id] if session[:user]
+      @quickvote.create_candidates
 
       # try to save, if it fails, show the page again (the flash should
       # still be intact

Benjamin Mako Hill || Want to submit a patch?