X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/2658beb48f9c3310e84a2738b7c8293d4fc3dbd4..e8094b780ec0f30ac06b4de4c4f3a9c2bffe209d:/app/models/election.rb?ds=sidebyside diff --git a/app/models/election.rb b/app/models/election.rb index ce7a0bc..99d64f9 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