registrant update change #2557

This commit is contained in:
Priit Tark 2015-06-12 19:20:08 +03:00
parent 51d22af52b
commit 64bd2b957f
9 changed files with 68 additions and 35 deletions

View file

@ -20,7 +20,6 @@ class Registrant::DomainUpdateConfirmsController < RegistrantController
@registrant_verification = RegistrantVerification.new(domain_id: @domain.id,
domain_name: @domain.name,
verification_token: params[:token])
if params[:rejected]
if @registrant_verification.domain_registrant_change_reject!
flash[:notice] = t(:registrant_domain_verification_rejected)