X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/d207da8dfc3f315f7758d1f5307c700ce4c25156..607f3a343ea400e558cc47a7c6dc508f9bafcfd2:/app/controllers/site_controller.rb 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