]> projects.mako.cc - selectricity/blobdiff - app/controllers/election_controller.rb
minor changes to clustering software
[selectricity] / app / controllers / election_controller.rb
index 3e169646bac4d583087fc585c36304fc186f9999..5c13a8128cdfa6781240bc6b9937d0e533482afd 100644 (file)
@@ -45,6 +45,7 @@ class ElectionController < ApplicationController
     @election.user = session[:user]
     @election.anonymous = 1
     @election.startdate = Time.now
     @election.user = session[:user]
     @election.anonymous = 1
     @election.startdate = Time.now
+    @election.type = 'Election'
     
     holder = create_theme_hash
     unless holder.values.all? {|v| v.has_value?("")}
     
     holder = create_theme_hash
     unless holder.values.all? {|v| v.has_value?("")}

Benjamin Mako Hill || Want to submit a patch?