mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 16:32:04 +02:00
Add delete action to confirmations API endpoint
This commit is contained in:
parent
4eaa8065ba
commit
64d35a864f
4 changed files with 44 additions and 18 deletions
|
@ -57,7 +57,7 @@ class DomainDeleteMailer < ApplicationMailer
|
|||
if base_url.blank?
|
||||
registrant_domain_delete_confirm_url(domain, token: domain.registrant_verification_token)
|
||||
else
|
||||
"#{base_url}/confirmation/#{domain.name_puny}/#{domain.registrant_verification_token}"
|
||||
"#{base_url}/confirmation/#{domain.name_puny}/delete/#{domain.registrant_verification_token}"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue