projects
/
selectricity-live
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Major update of Selectricity to work with Rails 2.2.2 from 1.2!
[selectricity-live]
/
app
/
controllers
/
election_controller.rb
diff --git
a/app/controllers/election_controller.rb
b/app/controllers/election_controller.rb
index 3e169646bac4d583087fc585c36304fc186f9999..5c13a8128cdfa6781240bc6b9937d0e533482afd 100644
(file)
--- 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?("")}
Benjamin Mako Hill
||
Want to submit a patch?