Added committed param to white ip

This commit is contained in:
Sergei Tsoganov 2023-07-07 16:05:06 +03:00
parent e00e44c9b8
commit 1c8a46bd89
12 changed files with 130 additions and 15 deletions

View file

@ -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