Merge branch 'master' into feature/1985#voting_token

This commit is contained in:
BertoCQ
2017-10-07 10:46:13 +02:00
committed by GitHub
46 changed files with 638 additions and 111 deletions

View File

@@ -10,6 +10,7 @@ class Polls::QuestionsController < ApplicationController
token = params[:token]
answer.answer = params[:answer]
answer.touch if answer.persisted?
answer.save!
answer.record_voter_participation(token)