Update controller.rb

added vote_time to voter_params