X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/f8ebf16c9444c239928d730d1f84275b90d733e6..01bd9222d9ddec98586fb7c30413ab298d07b8a7:/app/controllers/election_controller.rb diff --git a/app/controllers/election_controller.rb b/app/controllers/election_controller.rb index 6faaf22..bfef021 100644 --- a/app/controllers/election_controller.rb +++ b/app/controllers/election_controller.rb @@ -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