validates acceptance of census terms of service
This commit is contained in:
@@ -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!
|
||||
|
||||
Reference in New Issue
Block a user