X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/c49bd887561c4ee07feef7e6e8d25b6a3f15b5b7..e7df11018ea1e15f8671f948126632be3ac86e84:/app/models/election.rb diff --git a/app/models/election.rb b/app/models/election.rb index 9c6337f..7fa138e 100644 --- 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