]> projects.mako.cc - selectricity/blobdiff - app/controllers/election_controller.rb
fixed the string modification function and added support for a titlecase method
[selectricity] / app / controllers / election_controller.rb
index 46da56ef784379d7fa87d0e7e59327e73f45ed01..7145d3d20c3ce4198fcb9d5d88bbc1747967e0fe 100644 (file)
@@ -1,6 +1,6 @@
 class ElectionController < ApplicationController
   model :raw_voter_list, :voter, :vote, :candidate
-  layout 'vb'
+  layout 'hc'
 
   before_filter :login_required
 
@@ -54,8 +54,6 @@ class ElectionController < ApplicationController
     @election.voters.each do |voter|
       email = VoterNotify.create_votestart(voter)
       render(:text => "<pre>" + email.encoded + "</pre>")
-      breakpoint
-      break
     end
 
     #@election.activate!

Benjamin Mako Hill || Want to submit a patch?