projects
/
selectricity
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
QuickVotes are now displayed in the control panel list - and you can click on
[selectricity]
/
app
/
controllers
/
election_controller.rb
diff --git
a/app/controllers/election_controller.rb
b/app/controllers/election_controller.rb
index 6faaf22bd0f28548b407b1a4bc6a0e7d0a2b91ea..bfef0215377bc7547616dd343c81ecf8226aee83 100644
(file)
--- 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
Benjamin Mako Hill
||
Want to submit a patch?