fix data keys

This commit is contained in:
2023-02-09 13:23:45 +02:00
parent 9b21d6aafc
commit 6cdd30fe31
3 changed files with 5 additions and 5 deletions

View File

@ -3,6 +3,6 @@ class FormMailer < ApplicationMailer
def received(data)
@data = data
mail(to: data['email'] , subject: "We have received your request")
mail(to: data[:email] , subject: "We have received your request")
end
end