forgot to for mailer
This commit is contained in:
parent
b0aa2f5041
commit
9b21d6aafc
|
@ -3,6 +3,6 @@ class FormMailer < ApplicationMailer
|
|||
|
||||
def received(data)
|
||||
@data = data
|
||||
mail(subject: "We have received your request")
|
||||
mail(to: data['email'] , subject: "We have received your request")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue