X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/79b260d1caad8ef8559a9d8a9c46068acafdf9fb..efee1116c83bf5d42320b7c389560eff75a78b39:/app/controllers/election_controller.rb 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?("")}