]> projects.mako.cc - selectricity-live/blobdiff - app/controllers/application.rb
custimizable widgets now work for top_bar as well, btu still only with png's.
[selectricity-live] / app / controllers / application.rb
index 7a725ba0f5e6df21d2585be0a6cfe3791040e1da..1387b29b10dd1e53e8b7252ef258164ec9e2ebf4 100644 (file)
@@ -49,7 +49,7 @@ class ApplicationController < ActionController::Base
   def sort_candidates
     
     @vote = Vote.find(params[:id])
   def sort_candidates
     
     @vote = Vote.find(params[:id])
-
+    
     @vote.rankings.each do |ranking|
       ranking.rank = params['rankings-list'].index(ranking.candidate.id.to_s) + 1
       ranking.save
     @vote.rankings.each do |ranking|
       ranking.rank = params['rankings-list'].index(ranking.candidate.id.to_s) + 1
       ranking.save

Benjamin Mako Hill || Want to submit a patch?