]> projects.mako.cc - selectricity/commitdiff
Oh oops, left in some test cruft in quickvote_controller
authorJohn Dong <jdong@mit.edu>
Mon, 20 Aug 2007 18:36:59 +0000 (14:36 -0400)
committerJohn Dong <jdong@mit.edu>
Mon, 20 Aug 2007 18:36:59 +0000 (14:36 -0400)
app/controllers/quickvote_controller.rb

index 58370f7096b8b3b2ba1e0057553087ca2cc3e378..0d9eb7be4c934c2a08640ab78a2c5bb99b34849f 100644 (file)
@@ -21,7 +21,6 @@ class QuickvoteController < ApplicationController
         @quickvote = @quickvote.reload
         render :action => 'success'
       else
         @quickvote = @quickvote.reload
         render :action => 'success'
       else
-        raise ArgumentError.new(@quickvote.errors.inspect)
         flash.keep(:candlist)
       end 
 
         flash.keep(:candlist)
       end 
 

Benjamin Mako Hill || Want to submit a patch?