class QuickvoteController < ApplicationController
- layout 'hc'
+ layout 'main'
model :quick_voter
model :quick_vote
model :vote
else
# record the ip address for posterity
- @voter.ipaddress = request.env["BLAH"]
+ @voter.ipaddress = request.env["REMOTE_ADDR"]
@voter.save
# save the time the vote was made for statistical use, it doesn't