X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/aea5fd0d77227ccbc154ebe6428a45410ce538bb..5459df3cc567b3fd1bd11e365c928fd6a16dc49e:/app/controllers/quickvote_controller.rb diff --git a/app/controllers/quickvote_controller.rb b/app/controllers/quickvote_controller.rb index f7ad5ff..fbf53d3 100644 --- a/app/controllers/quickvote_controller.rb +++ b/app/controllers/quickvote_controller.rb @@ -157,6 +157,7 @@ class QuickvoteController < ApplicationController redirect_to quickvote_url( :ident => params[:ident] ) else + # record the ip address for posterity @voter.ipaddress = request.env["REMOTE_ADDR"] @voter.save