From 9b21d6aafc1704a63b21a7dfe290bfbe9a611e63 Mon Sep 17 00:00:00 2001 From: Torsten Date: Thu, 9 Feb 2023 13:19:20 +0200 Subject: [PATCH] forgot to for mailer --- app/mailers/form_mailer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/mailers/form_mailer.rb b/app/mailers/form_mailer.rb index f6073e1..a85d5a6 100644 --- a/app/mailers/form_mailer.rb +++ b/app/mailers/form_mailer.rb @@ -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