projects
/
selectricity
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Started modifying the results page for final appearnces.
[selectricity]
/
app
/
models
/
election.rb
diff --git
a/app/models/election.rb
b/app/models/election.rb
index 9c6337fdcf56ff78d7ee1d63a04ba1bfedf23bf0..7fa138ef4c433b4aafc239cd573aaf04a31bb8fb 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?