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