]> projects.mako.cc - selectricity/blobdiff - app/controllers/quickvote_controller.rb
Updated the "votes_per_day" method in graph controller to work better and
[selectricity] / app / controllers / quickvote_controller.rb
index 5482a25c99f3d46d12149a4c84ab02725c622f1b..d842f63433cfec8f389b45904a6507f193975ec0 100644 (file)
@@ -1,5 +1,5 @@
 class QuickvoteController < ApplicationController
-  layout 'hc'
+  layout 'main'
   model :quick_voter
   model :quick_vote
   model :vote
@@ -12,7 +12,7 @@ class QuickvoteController < ApplicationController
   def create
     if params[:quickvote] 
       @quickvote = QuickVote.new(params[:quickvote])
-
+     
       # store the candidate grabbed through ajax and stored in flash
       @quickvote.candidatelist = flash[:candlist]
 

Benjamin Mako Hill || Want to submit a patch?