validates acceptance of census terms of service

This commit is contained in:
rgarcia
2015-08-30 12:50:17 +02:00
parent 92940c9f91
commit 9abd794133
5 changed files with 16 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ class Verification::ResidenceController < ApplicationController
private
def residence_params
params.require(:residence).permit(:document_number, :document_type, :date_of_birth, :postal_code)
params.require(:residence).permit(:document_number, :document_type, :date_of_birth, :postal_code, :terms_of_service)
end
def verify_attemps_left!