X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/d207da8dfc3f315f7758d1f5307c700ce4c25156..3096416bbb8fdc92d7619aecc8237a57532d9066:/app/controllers/site_controller.rb?ds=inline diff --git a/app/controllers/site_controller.rb b/app/controllers/site_controller.rb index f4bae42..daa74f8 100644 --- a/app/controllers/site_controller.rb +++ b/app/controllers/site_controller.rb @@ -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