mirror of
https://github.com/internetee/registry.git
synced 2025-08-01 23:42:04 +02:00
Added committed param to white ip
This commit is contained in:
parent
e00e44c9b8
commit
1c8a46bd89
12 changed files with 130 additions and 15 deletions
|
@ -14,4 +14,10 @@ class WhiteIpMailer < ApplicationMailer
|
|||
subject = '[Important] Whitelisted IP Address Removal Notification'
|
||||
mail(to: email, subject: subject)
|
||||
end
|
||||
|
||||
def committed(email:, ip:)
|
||||
@white_ip = ip
|
||||
subject = 'Whitelisted IP Address Activation Confirmation'
|
||||
mail(to: email, subject: subject)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue