]> projects.mako.cc - selectricity/blobdiff - app/controllers/site_controller.rb
fixed the string modification function and added support for a titlecase method
[selectricity] / app / controllers / site_controller.rb
index f4bae4287126e05488dbd76af1d11e2114ecdb33..daa74f8cb866feaa7050999a026896d93457b79f 100644 (file)
@@ -1,5 +1,5 @@
 class SiteController < ApplicationController
-  layout 'vb'
+  layout 'hc'
   model :user, :election
 
   def index
@@ -11,14 +11,4 @@ class SiteController < ApplicationController
     end
   end
 
-  def create_quickvote
-    if params[:quickvote] 
-      @quickvote = QuickVote.new(params[:quickvote])
-      if @quickvote.reviewed? and @quickvote.save
-          @quickvote = @quickvote.reload
-         render :action => 'success_quickvote'
-      end 
-    end
-  end
-
 end

Benjamin Mako Hill || Want to submit a patch?