projects
/
selectricity-live
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed colors on graphs
[selectricity-live]
/
app
/
models
/
election.rb
diff --git
a/app/models/election.rb
b/app/models/election.rb
index ce7a0bceaff624a73231b6892b6743b0a36bd5f7..99d64f93cc55424b34f82dac24d0dce9a1e4fc73 100644
(file)
--- a/
app/models/election.rb
+++ b/
app/models/election.rb
@@
-23,7
+23,7
@@
class Election < ActiveRecord::Base
def other_methods
if election_method
- @other_methods = ELECTION_TYPES.reject {|i| i == election_method}
+ @other_methods = ELECTION_TYPES.
keys.
reject {|i| i == election_method}
else
@other_methods = nil
end
Benjamin Mako Hill
||
Want to submit a patch?