From: Date: Wed, 29 Aug 2007 22:06:16 +0000 (-0400) Subject: Created a partial to DRY the aja voting method. Modified the voter class to X-Git-Url: https://projects.mako.cc/source/selectricity/commitdiff_plain/8f23a174c70223831055e1498b50c3ba260858fe?hp=8f23a174c70223831055e1498b50c3ba260858fe Created a partial to DRY the aja voting method. Modified the voter class to have both a FullVoter and QuickVoter `types`. Also changed the index and review methods so that they are more error resistant in the face of ajax voting. Application.rb now includes the sort_candidates method from quickvote_controller so all election types can use it. Also updated the election results pages so that they don't throw errors any more. (Show and Hide details) ---