X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/e7bff908a0ea52b62e4fa0dc13be0293a51dcbb1..83a39529b634c0344a7884d5813e3f7e1a7dbcb4:/app/controllers/quickvote_controller.rb diff --git a/app/controllers/quickvote_controller.rb b/app/controllers/quickvote_controller.rb index 5bf89c7..066fd6b 100644 --- a/app/controllers/quickvote_controller.rb +++ b/app/controllers/quickvote_controller.rb @@ -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