X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/79b260d1caad8ef8559a9d8a9c46068acafdf9fb..92261fac718494dca6f92bbf193e75821fa336ec:/app/controllers/election_controller.rb?ds=sidebyside diff --git a/app/controllers/election_controller.rb b/app/controllers/election_controller.rb index 3e16964..5c13a81 100644 --- a/app/controllers/election_controller.rb +++ b/app/controllers/election_controller.rb @@ -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?("")}