]> projects.mako.cc - selectricity-live/blobdiff - app/models/election.rb
Started modifying the results page for final appearnces.
[selectricity-live] / app / models / election.rb
index 9c6337fdcf56ff78d7ee1d63a04ba1bfedf23bf0..7fa138ef4c433b4aafc239cd573aaf04a31bb8fb 100644 (file)
@@ -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?