]> projects.mako.cc - selectricity-live/blobdiff - app/controllers/election_controller.rb
mergec minor changes from live
[selectricity-live] / 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.type = 'Election'
     
     holder = create_theme_hash
     unless holder.values.all? {|v| v.has_value?("")}

Benjamin Mako Hill || Want to submit a patch?