projects
/
selectricity
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
scrollbar appears if two many electons on control panel. ooks pretty nasty.
[selectricity]
/
app
/
controllers
/
election_controller.rb
diff --git
a/app/controllers/election_controller.rb
b/app/controllers/election_controller.rb
index 68d59cc520fd1905474a12dea3991894682151af..7f87b2efa4a7f979b9cb912816c76015f768e9bf 100644
(file)
--- a/
app/controllers/election_controller.rb
+++ b/
app/controllers/election_controller.rb
@@
-46,6
+46,7
@@
class ElectionController < ApplicationController
@election.anonymous = 1
@election.startdate = Time.now
@election.anonymous = 1
@election.startdate = Time.now
+
holder = create_theme_hash
unless holder.values.all? {|v| v.has_value?("")}
token_generator = UniqueTokenGenerator.new( 16 )
holder = create_theme_hash
unless holder.values.all? {|v| v.has_value?("")}
token_generator = UniqueTokenGenerator.new( 16 )
@@
-79,7
+80,6
@@
class ElectionController < ApplicationController
def update_general_information
@election = Election.find(params[:id])
def update_general_information
@election = Election.find(params[:id])
-
holder = create_theme_hash
unless holder.values.all? {|v| v.has_value?("")}
unless @election.embed_custom_string
holder = create_theme_hash
unless holder.values.all? {|v| v.has_value?("")}
unless @election.embed_custom_string
Benjamin Mako Hill
||
Want to submit a patch?